Underlined Words? |
![]() ![]() |
Underlined Words? |
Mar 11 2007, 04:46 PM
Post
#1
|
|
![]() talent on another level ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 746 Joined: Oct 2006 Member No: 475,735 |
I am trying to make the words or the underline change color, but right now it is just the same color as the text. Here is my code:
CODE .u{
font-family: arial; font-size: 8pt; color: #92ac98; } |
|
|
|
Mar 11 2007, 04:51 PM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Go here , use mipadi's code. The last line of it will change the color of the underline. If you don't want it to be double change double to solid.
|
|
|
|
Mar 11 2007, 04:54 PM
Post
#3
|
|
![]() talent on another level ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 746 Joined: Oct 2006 Member No: 475,735 |
Sorry it didn't work. By the way, I'm using Dreamweaver.
|
|
|
|
Mar 11 2007, 05:06 PM
Post
#4
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
It doesn't matter whether or not you use dreamweaver..... Anyways to the point if you edit everything correctly you get a word in one color and a underline in another. If you want just the word and underline the same color you set both to the same.
Example: When I use: (without the . before the u) CODE u { font-family:Arial; font-size:8pt; color:#000000; text-decoration:none; /* Turns off underlining */ border-bottom: 4px double #304973; /* Adds a double underline */ } (You may need to use style tags if you didn't.) It turns out like this, because I set the word to black and the underline to another color. Also to make it work you know what you have to use <u>text</u> right? ![]() Also if you are editing the underlines already in your css it will stop that from occuring as well. |
|
|
|
Mar 11 2007, 05:08 PM
Post
#5
|
|
![]() talent on another level ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 746 Joined: Oct 2006 Member No: 475,735 |
okay now it works, thanks
|
|
|
|
![]() ![]() |