Please post questions or comments about this tutorial below.
Comment by haftrige on May 21, 2004, 5:15 am
thanks for the info but i still don't see the difference between id and class !when i should use one and not the other?
Comment by Slimeball on Oct 20, 2004, 1:23 am
Class can be used more than once, ID is only supposed to be used once. (according to standards)
Comment by Streuer on Nov 6, 2004, 8:04 pm
I was wondering if any of you guys know anything about Javascript style sheets. If so, which do you think is better, the JSSS or the CSS?
Comment by dmsuperman on Jan 8, 2005, 2:21 am
There is no JSSS, only CSS. JSSS makes no sense, JS is for scripting, not styling.
Comment by Get Bent on May 17, 2005, 9:54 pm
Even if jsss existed, css would be recomended...
Comment by Mysterious Man #6821 on Jul 13, 2005, 5:51 am
Java Script does not suck. IF your using firefox go to tools and turn off your javascript. See how your web browsing is without it.
Comment by Ash on Aug 13, 2005, 4:48 pm
I've just read a tutorial on making menus in CSS in a magazine I have, and in it they use IDs like this:
#menu ul { /* CODE HERE */}
Why is the 'ul' after the '#menu'? Does it make any difference?
Ummm... Nobody said js sucked. JS is awesome, just not fit for this kind of stuff.
The tutorial is great. I knew how to write a stylesheet, but now I know how to get all the variables or whatever you wish to call them. Thanks, your site is amazing.
Ash: That is an indispensable feature called contextual css. What that code basically states that all UL tags within the #Menu div get /*CODE HERE*/. Great for specifying things like "All links in the navigations div should be x color: