*John Topley* wrote:
Hi
Quote:
I'm doing some work in an intranet environment where I'm forced to use
IE 6.0. Is it possible to style (unordered) nested lists so that the
inner list items have a different appearance to the outer list items?
I can't get it to work using descendant selectors. |
#mylist ul {
font-style: italic;
}
#mylist ul ul {
font-weight: bold;
}
<ul id="mylist">
<li>Biscuits
<ul>
<li>Rich Tea</li>
<li>Bourbon</li>
<li>Digestive
<ul>
<li>Plain</li>
<li>Milk Chocolate</li>
<li>Dark Chocolate</li>
</ul>
</li>
<li>Custard Creme</li>
</ul>
</li>
<li>Fish</li>
<li>Wildebeast</li>
</ul>
--
Andrew Urquhart
- FAQ:
http://www.css.nu/faq/ciwas-aFAQ.html
- Archive:
http://tinyurl.com/ysjbm (Google Groups)
- Contact me:
http://andrewu.co.uk/contact/
- This post is probably time-stamped +1 hour - blame my ISP (NTL)