Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bullet colors 1

Status
Not open for further replies.

chessbot

Programmer
Mar 14, 2004
1,524
US
I have been looking all over the Internet for an answer for this question already.

Is there a command, such as [tt]list-style-color[/tt], that specifies the color of the bullet without changing the color of the text? I don't want to create an image where one is unnecessary.

--Chessbot

"See the TURTLE of enormous girth!"
-- Stephen King, The Dark Tower series
 
Supposedly not until css3 my friend.

Here's a workaround:

Code:
<style type="text/css">
ul { color: red; }

.li { color: blue; }
</style>

<ul>
  <li><span class="li">List Item One</span></li>
  <li><span class="li">List Item Two</span></li>
  <li><span class="li">List Item Three</span></li>
  <li><span class="li">List Item Four</span></li>
</ul>

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
Of course, you could use an image that you've created that would essentially be a colored circle...

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
I was afraid of that...
Thanks anyway.

--Chessbot

"See the TURTLE of enormous girth!"
-- Stephen King, The Dark Tower series
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top