HTML = model
CSS = view
JavaScript = controller
The three things should be as unmixy as possible.
Willow ,'First Date'
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
HTML = model
CSS = view
JavaScript = controller
The three things should be as unmixy as possible.
ita, you FONT COLORer you!
HTML = model
CSS = view
JavaScript = controller
What do you do if you have formatting and Javascript in XML?
Oh, come on. What's a t u between friends?
From a practical perspective, if you keep your structure (HTML) and style (CSS) separate, you know which file to edit when you have to go back 6 months later and change everything from blue to red. Speaking as someone who has spent more time than she'd like to think about trying to figure out just which file she needed to fix.
Coming in late - tommyrot, if you really want to make table borders and rules disappear, you can set the color to match the background (white for my site's pages ... as I found out after a lot of aggravation).
Ok, anyone have any ideas? I have an emachine E627, and about two days ago, both of my USB ports stopped working. They appear to be working in the control panel, but if you plug anything into either one of them, nada.
Which completely sucks, since Dan's computer is not Linux based, and I can't connect my Touch or my external hard drive...where my resumes and 11 billion cover letter versions are.
Any ideas or advice? Obviously, I'm moving the external down to Dan's computer, so I can email my stuff to myself as a quickie, and I can burn a CD with all the other stuff, but I'd like to FIX it.
And we're broke.
You are using what flavor Linux?
I use windows; Dan's PC is Linux-based. And it's, um, chocolate-flavored? (I don't know.)
The first thing to do would be to try the rear USB ports and see if they work. If they do, then maybe you have a loose connection from the front ports to the motherboard. If you can't get the front ports working, then a cheap USB hub connected to a back port would take care of it.
After that, I'm sure Dan can burn a live Linux CD and boot the computer off of that. That way you can determine if the hardware has failed or if it's a software issue.
If it's a hardware failure, then the cheap solution would be a PCI card with USB ports, like this one.
It has an internal header so you can plug the front ports into the card instead of the motherboard.
If it's a software issue, then probably remove the USB drivers and install the chipset driver.