Forum Moderators: mack

Message Too Old, No Replies

making bullets white with <ul>

making bullets white with <ul>

         

meanweaver

5:21 pm on Nov 5, 2004 (gmt 0)

10+ Year Member



I am putting some text onto a black background, i am making a list with <ul> but cant get the bullets to turn white, as there on a black background they dont show at all. can this be done.#

Regards

iamlost

8:45 pm on Nov 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The list-style-type is the same colour as the text colour.

Add: color: #fff; to the containing div
OR
Add: ul {color: #fff;}

mcfly

2:56 pm on Nov 15, 2004 (gmt 0)

10+ Year Member



Meanweaver,

As above, you could also use css to set the colour of each list item:

li { color:white; }

or...

<li style="color:white;">

if you want to specify the colour of individual items.