- From: Marc Attinasi <attinasi@netscape.com>
- Date: Thu, 18 Oct 2001 12:21:55 -0700
- 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 UTC