More information about the Underscore mailing list

[_] CSS - am I doing something wrong?

Andy Gale andy at mentalist.co.uk
Thu May 27 13:47:58 BST 2004

juan wrote:


> #menu.ecommerce {
> background: url(../furniture/menubar_ecommerce.jpg);

Don't you mean this? A li element with a parent with the id 'menu'.

#menu li {
background: url(../furniture/menubar_ecommerce.jpg);
}

Or this? A element with the class .ecommerce with the id 'menu'.

#menu .ecommerce {
background: url(../furniture/menubar_ecommerce.jpg);
}


Andy