...

View Full Version : Underline colour different to text?



mouse
09-27-2002, 08:27 PM
I've been scanning the CSS2 pages [here (http://www.w3.org/TR/REC-CSS2/cover.html#minitoc)]) and I've failed to find a method of underlining text using a different color than said text.

I'm I missing something?

MCookie
09-27-2002, 09:18 PM
This will do it:
<span style="color:#000000;border-bottom:1px solid #CC0000;">this is red underlined black text</span>
But maybe I'm missing something myself...

mouse
09-27-2002, 10:05 PM
Shweet, should have thought of that myself :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum