Re: CSS and <OL>
- From: brucie <shit@xxxxxxxxxxxxxxx>
- Date: Fri, 11 Nov 2005 03:41:51 +1000
In post <news:k%Kcf.1189$FW4.990@xxxxxxxxxxxxxxxxxxxxxxx>,
Shank said:
> How do I control the font, size, color etc. for the numbers in an ordered
> list? Without changing the list content.
li{color:red;}
li+li{color:green;}
li+li+li{color:blue;}
li p{color:black;}
<ol>
<li><p>red
<li><p>green
<li><p>blue
</ol>
but thats not supported by prehistoric IE
#red{color:red;}
#green{color:green;}
#blue{color:blue;}
li p{color:black;}
<ol>
<li id="red"><p>red
<li id="green"><p>green
<li id="blue"><p>blue
</ol>
--
l i t t l e v o i c e s
.
- References:
- CSS and <OL>
- From: Shank
- CSS and <OL>
- Prev by Date: Re: please recommend a freeware FTP program
- Next by Date: Simple page loads once then appers as source -- why?
- Previous by thread: CSS and <OL>
- Next by thread: Re: CSS and <OL>
- Index(es):
Relevant Pages
|