[thelist] Learning CSS - what's the # for + any good tutorials?
Mike Migurski
mike at saturn5.com
Mon Mar 18 11:57:01 CST 2002
>Ah I see :) Some more questions then...
>
>What advantages are there to assigning styles to a specific division (by
>ID) instead of setting up a style class and using that? How well
>supported is it by browsers? Are there any "best practise" techniques
>which should be applied when considering whether or not to use the ' syntax?
You can only have one element with a given ID, but many elements of a
given class. It's very well supported by browsers, since it was defined in
CSS 1.
http://www.htmlhelp.com/reference/css/structure.html
>Simon (determined to get to grips with CSS now)
You want the w3c specs. They're a bit of a bear to get through, but
everything you ever wanted to know about the standard is there (because it
*is* the standard).
http://www.w3.org/TR/REC-CSS1
http://www.w3.org/TR/REC-CSS2/
-mike.
--------------------------------------------------------------------------
michal migurski mike(at)saturn5.com
http://www.saturn5.com/mike AIM:migurski
--------------------------------------------------------------------------
--> relaxen und watchen das cursorblinken <--
--------------------------------------------------------------------------
More information about the thelist
mailing list