• Using CSS, I can cause the bullets of bulleted list items to be colored the way I want. But, the bulleted text then also assumes that color. How can I change the color of only the bullets?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi jbn10161… The only way I can think of is by doing the following:
    Set the color of the bullets as you want them in the CSS even though the text changes to that color aswell. Then manually after each
    < li > tag in your webpages add <font color=”#FF0000″> before the text and </font> after it where #FF0000 is what color you want the text to be.
    That will change the text independently of what color the CSS sets it. Tedious but that’s all I can think of, sorry!

    Other than that, use a small image as your bullet point instead.

    Use the second suggestion 😉

    Thread Starter jbn10161

    (@jbn10161)

    Interesting approach. (1) With an SRC tag? (2) I’m not sure how that integrates with a stylesheet: How can distance, indents, etc. be specified, so the image/bullet is a hanging indent outside the left margin of the text itself?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Bullets and text different colors’ is closed to new replies.