Skip to main content
0 online

HTML double-underlines?

deanh77 by deanh77Founder · Oct 16, 2003 · 93 views

Well, our html guy got canned, so i have to figure out a lot of the stuff I'd just ask him to do.

I need to double underline some text in HTML, and I'm having trouble, because I don't think its possible. there's no tag that I know of. Does anyone (ahemm.. Ian) know of a way to do this.

To contribute to the discussion, please log in.

16 Comments

deanh77 #6 deanh77Founder

http://www.w3schools.com/css/

Has some cool stuff on CSS, including an interactive tool that lets you try out code and see the results

iwz #5 iwz

dude, why do you need double-underlines anyway?

deanh77 #5.1 deanh77Founder

It's part of one of our specs, to notify the user of something. like to get their attention or something. like I said before, usually I wouldn't have to worry about this stuff, but our HTML producer got fired. ughg.

deanh77 #5.1.1 deanh77Founder

well, anyway, I guess its sort-of interesting. learned a little about CSS.

deanh77 #4 deanh77Founder

ok, so my way of doing it (underline + a border) doesn't work when the font-size is small (the two lines become one fat one) so I went with the double-border:
testing

for smaller ones:
testing

deanh77 #4.1 deanh77Founder

this doesn't work for some reason her on ezabel, but if size of border is 5px it makes two thick lines, if its 3px it makes two thin lines.

deanh77 #3 deanh77Founder

wow. that was driving me crazy. I don't know anything about CSS

deanh77 #2 deanh77Founder

I just figured it out sweet.

<span style="text-decoration: underline; border-bottom: 1px solid
black">underlined
text</span>

underlined
text

iwz #2.1 iwz

that looks better than what i came up with

deanh77 #2.1.1 deanh77Founder

I stole it from google groups.

iwz #2.1.1.1 iwz

sweet!

iwz #1 iwz

You're gonna have to use some stylesheets to do that. experimenting

iwz #1.1 iwz

This is the best I can come up with. Works in IE (looks ugly tho) and Mozilla.
<span style="border-bottom-style: double;">lakjshdlkhasd</span>

lakjshdlkhasd

skaorsk8 #1.1.1 skaorsk8OG 2002

why is dean's code so much neater than yours?

deanh77 #1.1.2 deanh77Founder

that looks like a single underline to me. (I'm using IE 5.5)

iwz #1.1.2.1 iwz

yeah, it must be eZabel's stylesheet conflicting. It works locally.

Welcome Back to eZabel

It's been a while. Here's what's new.

eZabel Lore

A complete history of our community — stats, Hall of Fame, legendary threads, and more.

View the Lore →

Curator Commentary

Look for the blue speech bubbles on threads, profiles, and news — notes and context from iwz.

Everything Preserved

All 225,969 pieces of content from 2000–2014 are here — forums, messages, journals, photos, polls, and events.