W3C home > Mailing lists > Public > www-html@w3.org > October 2001

Re: Different colour list points

From: Marc Attinasi <attinasi@netscape.com>
Date: Thu, 18 Oct 2001 12:21:55 -0700
Message-ID: <3BCF2BD3.60402@netscape.com>
To: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
CC: Nathan Rodgers - Web Publishing Australia <rodgersn@wpa.com.au>, www-html@w3.org
Christian Wolfgang Hujer wrote:

>[snip]
>
>
>Currently, there's no official way for coloring the bullets of a list.
>
You can use the CSS property 'list-style-image' and provide your own 
image, in any color(s) you like.

>
>Something like
><ul class="color">
>  <li class="color"><span class="item">Item 1</span></li>
>  <li class="color"><span class="item">Item 2</span></li>
></ul>
>
>with
>.color {
>	color:green;
>}
>.item {
>	color:black;
>}
>
.color {
	color:green;
	list-style-image: url(greenbullet.jpg);
}
.item {
	color:black;
}


- marc
Received on Thursday, 18 October 2001 15:27:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT