On 8/29/11 8:27 AM, Tim Arnold wrote:
Lisa,

The only way to make the text a different color than the bullet is to
wrap the text in something (<span>,<a>,<b>, whatever) that you can
give a color to.  Other than that, you'll have to use a bullet
image.


Not quite the same thing, but with the effect you want, is to use
generated content instead of the regular list marker. While it does not
work in IE 6-7, I do use this for custom "bullets" for more modern browsers.

This article explains how to style the numbers for ordered lists, so is
a bit more complicated than you need. But hopefully you can figure out
what's going on and adapt it:

<http://www.456bereastreet.com/archive/201105/styling_ordered_list_numbers/>

(If that breaks, try http://goo.gl/hGLmu )
--
Cordially,
David


______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to