[thelist] Learning CSS - what's the # for + any good tutorials?

Simon Willison cs1spw at bath.ac.uk
Mon Mar 18 07:04:01 CST 2002


Olly wrote:

>Not sure about the tutorials, but as for the #, IIRC <div id="title"> would
>have #title applied to it.
>
>HTH,
>
>Olly.
>
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?

Thanks,

Simon (determined to get to grips with CSS now)




More information about the thelist mailing list