How to make inner UL list not inherit from outer UL List in CSS
Posted
by
Minghui Yu
on Stack Overflow
See other posts from Stack Overflow
or by Minghui Yu
Published on 2011-01-10T20:44:31Z
Indexed on
2011/01/10
20:53 UTC
Read the original article
Hit count: 308
For the HTML List below, I need to add a background image only to the LI of the outer list. (aka the one with class "menu-mlid-594 dhtml-menu expanded start-collapsed")
HTML codes are:
<li class="menu-mlid-594 dhtml-menu expanded start-collapsed ">About the Collection<ul class="menu"><li class="leaf first dhtml-menu ">By Theme</li><li class="leaf last dhtml-menu ">By Individual</li></ul></li>
How can I do that?
Thanks.
© Stack Overflow or respective owner