Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > HTML / XHTML
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 06-29-2002, 10:41 PM
  #1
JBOMB
Aspirant (Level 2)
 
Join Date: Jun 2002
Posts: 11
iTrader: (0)
JBOMB is on a distinguished road
Change Color of a Bullet ?

Hi....Im a Flasher but also an HTML newbie

The code i have for a bullet in HTML is <LI>
But i cant get it to be the color GREY..

I can only get it to be black...Does anyone know how to change its color ?

I would greatly appreciate it...

Thanks Alot
JBOMB is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 06-30-2002, 12:21 AM
  #2
entimp
I Quit WoW - Gimme Rep.
 
Join Date: May 2002
Location: Liverpool UK (sometimes London)
Posts: 4,915
iTrader: (0)
entimp will become famous soon enough
Sorry

The short answer is no. HTML only provides minimal control over the look of bullets. The are two possible ways of doing what you need.

1] create a table to look like a list. You can do this by having a thin left side, say 10 pixels, and wider right side for description.

2] The other way would be to invest some time into CSS control over your page layout. I am pretty sure you can change the colour this way.

Perhaps you should aim your question at someone who knows their CSS.
__________________
entimp is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 06-30-2002, 12:25 AM
  #3
entimp
I Quit WoW - Gimme Rep.
 
Join Date: May 2002
Location: Liverpool UK (sometimes London)
Posts: 4,915
iTrader: (0)
entimp will become famous soon enough
sussed the CSS

I am learning some CSS now, and thought I was a bit lazy in the last response, so here is what I researched.

Try this, an inline CSS statement.

<li stlye="color: grey">Your bullet text</li>

The problem is that the bullet text will be gray, so you will have to nest some font tags like this...

<li stlye="color: grey"><font color="black">Your bullet text</font></li>

The bummer is that you will have to do this for evey line of your bullet list... If I find a better way I will let you know.
__________________
entimp is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 06-30-2002, 07:00 AM
  #4
wijbenga
SuperHero (Level 14)
 
Join Date: Feb 2001
Location: Amsterdam
Posts: 258
iTrader: (0)
wijbenga is on a distinguished road
Verry verry simple

<font color=#CCCCCC><LI>gray li aight</li></font>

Its cheating but it works
__________________
wear your undies off!
www.webenga.com
wijbenga is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 06-30-2002, 03:07 PM
  #5
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 33,142
iTrader: (0)
scoutt is a glorious beacon of lightscoutt is a glorious beacon of lightscoutt is a glorious beacon of lightscoutt is a glorious beacon of lightscoutt is a glorious beacon of light
umm you can change the colors of bullets.

Code:
<html>
<head>
<style>
ul{
  color : Gray;
}
</style>
</head>
<body>

<ul>
<li><span style="color:black"> line one</span>
<li> line 2
</ul>
</body>
</html>
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01,
HTML 5, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 07-01-2002, 05:12 AM
  #6
wijbenga
SuperHero (Level 14)
 
Join Date: Feb 2001
Location: Amsterdam
Posts: 258
iTrader: (0)
wijbenga is on a distinguished road
Thumbs up

no wonder your a guru
__________________
wear your undies off!
www.webenga.com
wijbenga is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Reply
KEEP TABS
SPONSORS
 
Boxedart

 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 11:29 AM.

   

Mascot team created by Drawshop.com | Web Hosting

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.