More information about the Underscore mailing list

[_] CSS - am I doing something wrong?

Tim Beadle tim.beadle at
Thu May 27 18:04:13 BST 2004

>>> juan at 05/27/04 14:33 PM >>>
> Yes it does work - but my problem with that is that I would then
> have to make separate styles for this:

No you wouldn't. You could do:

#menu1 li, #menu2 li, #menu3 li {
margin: 0; padding: 0; list-style: none;
position: absolute; top: 0;

Cos all the declarations are the same. Commas in style selectors mean "apply this set of styles to all the items in the list".

underscore_ list info/archive ->

Institute of Physics
Registered charity No. 293851
76 Portland Place, London, W1B 1NT, England

IOP Publishing Limited
Registered in England under Registration No 467514.
Registered Office: Dirac House, Temple Back, Bristol BS1 6BE England

This e-mail message has been checked for the presence of computer viruses.