Re: CSS and <OL>



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
.



Relevant Pages

  • Re: CSS and

      ... >> How do I control the font, size, color etc. for the numbers in an ordered ... thats what my example did. ... Prev by Date: ...
      (alt.html)
    1. Re: Is there a way to set default font in all child controls?
      ... >I know I can obtain default GUI font and assign it to each control but I ... Prev by Date: ...
      (microsoft.public.vc.mfc)
    2. Re: Roddick/Muller Match Stats
      ... thats y he lost .. ... not taking control of the ... Prev by Date: ...
      (rec.sport.tennis)
    3. Re: Autosize
      ... Change the form's font properties to match the CheckBox or OptionBox; ... depending on which control (obviously, change the control name to the ... Rick - MVP ... Prev by Date: ...
      (microsoft.public.vb.controls)
    4. Re: Referencing controls in a template programmatically
      ... Thats how you can grab the control... ... Prev by Date: ...
      (microsoft.public.dotnet.framework.aspnet.webcontrols)