Navigation
Poll
Would you be an active poster if Ron's Guide had a message board?


Total Votes: 69
Comments: 20 — View
Past pollsPoll idea?
Rate Ron's Guide
Rate our resource at Bigwebmaster.com
Discuss Tutorial: Ids and Classes 11 Comments
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
Wassat Angry 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?
Comment by Blake Lysol on Jun 17, 2006, 4:18 pm
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.
Comment by Krunkosaurus on Jun 18, 2006, 8:48 pm
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:

div#navigation a {color: white; }
Comment by Mahesh on Jan 17, 2007, 4:33 pm
hi Ron,
I had a requirement to compress pre-formatted text to fit into 500 pixel width and hence tried your suggestion of defining a CSS class just like what you have done. This does not seem to work anymore. It does not matter how much width specify, the pre-formatted text just blows over the width restriction and scrolls horizontally way over. Can you please help me with this

« Previous [ 1 2 ] Next »
Post a comment
Sorry, you must be a registered member to post comments.

If you would like to register, you can do so here.
If you already have an account, please login.