Posted by Toby Inkster on 01/27/06 10:33
onetitfemme wrote:
> ol li { counter-increment: item; }
> ol li:before { content: counter(item, upper-roman) ". ";}
This CSS rule will of course match:
<OL>
<LI>
<UL>
<LI>this list item here!
</UL>
</OL>
You could try using:
OL > LI { counter-increment: item; }
OL > LI:before { content: counter(item, upper-roman) ". ";}
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|