Re: [WSG] Question about change color of numbers in OL list

2008-11-06 Thread Антон Грахов
Thank you, men, it's good idea! But IE don't understand there. I think what better use extra tags as span. 2008/11/6 Christie Mason <[EMAIL PROTECTED]>: > I came across the below, sorry I don't have any notes on where, and it's > worked for me. Put the color you want on the li and then use to cha

Re: [WSG] Question about change color of numbers in OL list

2008-11-06 Thread Mike at Green-Beast.com
Hi Anton, My idea with inner : CSS code: li { color: red; } li span { color: blue; } As far as I know that about as good a solution as it gets. I'm not aware of another way to get the job done. Mike *** List Guidelines:

RE: [WSG] Question about change color of numbers in OL list

2008-11-06 Thread Christie Mason
I came across the below, sorry I don't have any notes on where, and it's worked for me. Put the color you want on the li and then use to change the number color and weight. ol { counter-reset: item } ol li { display: block } ol li:before { content: counter(item) ". "; counter-increment: item; fon

Re: [WSG] Question about change color of numbers in OL list

2008-11-06 Thread Brett Patterson
Change the OL tag color:red, and then use the span color:blue for your span. On Thu, Nov 6, 2008 at 2:44 PM, Антон Грахов <[EMAIL PROTECTED]> wrote: > Hi to all, > > how to change color of numbers in items OL list, but do not change > color of text in items? > > My idea with inner : > > CSS code:

Re: [WSG] Question about change color of numbers in OL list

2008-11-06 Thread James Farrell
Use a list-style with an image? James 2008/11/6 Антон Грахов <[EMAIL PROTECTED]> > Hi to all, > > how to change color of numbers in items OL list, but do not change > color of text in items? > > My idea with inner : > > CSS code: > li { color: red; } > li span { color: blue; } > > HTML code: >

[WSG] Question about change color of numbers in OL list

2008-11-06 Thread Антон Грахов
Hi to all, how to change color of numbers in items OL list, but do not change color of text in items? My idea with inner : CSS code: li { color: red; } li span { color: blue; } HTML code: Item1 Item2 Any idea, but without ? -- Thanks and regards