Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder zfred09's Avatar
    Join Date
    Dec 2006
    Posts
    69
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Styling List Bullet Points

    Is there a simple way to color the bullets of a list without also coloring the text? Note I don't want to use a custom image and if possible would like to avoid doing another div or class inside the list element to recolor the text again.

  • #2
    Regular Coder FWDrew's Avatar
    Join Date
    Apr 2008
    Location
    Missouri
    Posts
    380
    Thanks
    38
    Thanked 45 Times in 43 Posts
    Hi,

    Without using an image or a simple class or span inside the <li> I do not think it is possible. Why not just put a class inside the li for the text color?

    Source-http://www.w3schools.com/css/css_list.asp

    Drew

  • #3
    New Coder zfred09's Avatar
    Join Date
    Dec 2006
    Posts
    69
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Ok I couldn't find anything when looking, so I wasn't sure if someone knew of an easy way, but I'll just use a class for the text.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •