Web Hosting Talk







View Full Version : CSS underline..


hopesfall
09-13-2008, 07:08 PM
I'm working with CSS and I want to underline some text, but use a dotted underline. I also want to change the color of the line, can anyone help me?
This is what I have tried:
{text-decoration: underline color: white;}
But I guess thats wrong.

Retriever II
09-14-2008, 03:06 AM
Instead of text-decoration, try:
{border-bottom: 1px dotted #FFF;}

oliviakitty
09-14-2008, 11:09 AM
Yeah,
I forgot to add "-bottom" to the code I gave you int he other thread.