View Full Version : Css newbie


Deepa
12-07-2006, 11:57 AM
Let me tell you what i know
<ol>
<li>car</li>
<li>bus</li>
<li> Train</li>
</ol>
This will give me
1.Car
2.Bus
3.Train

Now this is what i want to happen
just the bulleted numbers must appear in a diffrent color (say maroon)
and must also be bold.

the rest of the text must be in the common style used over the page.
I tried
ol{font-weight: bold ;}

but this gives me the entire bulleted text (bullet numbers + the text) in bold
I just want the bullet numbers to be bold & of diffrent color
Any help is great help
thank you
Deepa

Deepa
12-07-2006, 12:15 PM
I was able to acomplish this by creating a document in word and formating the bullet color ..(Format-bullets-customise-font-choose color)..and then save it in html.

I would like to know how to do this using Css
Thank you

Character Q
12-08-2006, 01:40 AM
I'd guess :

<li style="color: #XXXXXX;"><font color="#XXXXXX"><strong>Text Here</strong></font></li>

Buy i'm also a newbie, so I'm not sure. :tired:

Deepa
12-08-2006, 02:08 AM
http://archivist.incutio.com/viewlist/css-discuss/50473

solved my problem
thnks anyway