Help - Search - Members - Calendar
Full Version: Double underline
Forums > Resource Center > Webmasters' Corner > Resolved Topics
femmefutile
Im a newbie to css and stuff and I was wondering what i should put to this code to make it write a double underline when i use the underline tags.

This is the stylesheet:

CODE
u {
font-family: arial;
font-size: 8pt;
color: 304973;
}



Thanks. _smile.gif





freeflow
add border-bottom: #px solid ######; before the } . Change #px to the sizepx. Change ###### to the color.
mipadi
I'd do this:

CODE
u {
    font-family:Arial;
    font-size:8pt;
    color:#304973;
    text-decoration:none; /* Turns off underlining */
    border-bottom:Xpx double #304973; /* Adds a double underline */
}

Change X (in Xpx) to the size of the broder, in pixels.
femmefutile
Oh, thanks, both of you guys. happy.gif

I have another question; how do I make a double strike?
mipadi
I don't know of a good way to do a double strike-through.
Azarel
^ Actually, I don't think there is a way to have double strike-through. A single line, yes, but not two.
femmefutile
Really? I think I saw a double strike in a website somewhere. Well, I was probably just seeing double. lmao

Okay, thanks this can be locked. _smile.gif
mipadi
It's probably possible, but just not easy. I'm relatively certain you could come up with some weird hack for it, but there isn't a simple attribute to do it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.