Log In · Register

 
Double underline, with css
femmefutile
post Feb 11 2007, 05:21 PM
Post #1


Senior Member
***

Group: Member
Posts: 50
Joined: Sep 2006
Member No: 461,376



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





 
 
Start new topic
Replies (1 - 7)
freeflow
post Feb 11 2007, 05:22 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



add border-bottom: #px solid ######; before the } . Change #px to the sizepx. Change ###### to the color.
 
*mipadi*
post Feb 11 2007, 06:49 PM
Post #3





Guest






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
post Feb 14 2007, 12:52 AM
Post #4


Senior Member
***

Group: Member
Posts: 50
Joined: Sep 2006
Member No: 461,376



Oh, thanks, both of you guys. happy.gif

I have another question; how do I make a double strike?
 
*mipadi*
post Feb 14 2007, 01:45 PM
Post #5





Guest






I don't know of a good way to do a double strike-through.
 
*Azarel*
post Feb 14 2007, 06:24 PM
Post #6





Guest






^ Actually, I don't think there is a way to have double strike-through. A single line, yes, but not two.
 
femmefutile
post Feb 14 2007, 06:34 PM
Post #7


Senior Member
***

Group: Member
Posts: 50
Joined: Sep 2006
Member No: 461,376



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*
post Feb 14 2007, 07:09 PM
Post #8





Guest






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.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: