Email
Share

We Rock Your Web Forum » Markup Languages » CSS

CSS List Bullet Color

(2 posts)
  1. miraculix

    member
    Joined: Aug '09
    Posts: 27

    Is there a way to set the color of bullets in a CSS list (ie.
    <ul> or <ol>)? I seem to remember there being a way to do this, but I've tried list-style:, list-style-type:, etc. and none of those seem to have a color attribute.

    Posted 11 months ago #

  2. Posted 11 months ago
  3. cwd

    senior admin
    Joined: Jul '09
    Posts: 225

    Simple set the color for the list element, you don't need a specific attribute:
    ul { color: #fff }

    Posted 11 months ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.