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
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:
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
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:
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:
>
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