hover links, different colors. |
hover links, different colors. |
Aug 5 2006, 10:54 PM
Post
#1
|
|
![]() the name is ada. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,688 Joined: Dec 2005 Member No: 334,608 |
I saw this one layout site.
whenever I hovered a link it like has a box around it and it changes color.. like for example.. home(would be red box around) add(would be green box around) message(would be brown box around) does anyone know the code ? |
|
|
|
![]() |
Aug 6 2006, 01:22 PM
Post
#2
|
|
![]() What's my name? Janette. and ily. <3 ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,139 Joined: Apr 2006 Member No: 391,911 |
Mm no I didn't ask. I didn't look either.
Anyhoo, I found the answer on google. It should be somewhere along the lines of putting this into your css: .class1 a:link, .class1 a:visited, .class1 a:active { color: #6685B0; text-decoration: none; } And making it a div (I guess, the answer is a tad confusing.) with the name div1 [as you labeled in the css class1. you can do class2, class3, etc.]. I'm gonna keep searching, I'm sure you can do it without div's. Ah, I see. I guess you can use <a class=1>, but I'm wondering where the link can go. And my search continues. Uhmm, I suppose you can use this code inside of your style tags: td a { color: green; } and putting td tags around your links. I'm not sure. AHH YES! Okayy. I think I figured it outt. Refer to this, and how you put it in your css: QUOTE Anyhoo, I found the answer on google. It should be somewhere along the lines of putting this into your css: .class1 a:link, .class1 a:visited, .class1 a:active { color: #6685B0; text-decoration: none; } And then I mentioned something about the <a class="#">, and I don't know where the url would go. Typically, it goes like this: <a class="CLASSNAMEHERE" href="URLHERE"> And in your css you go onto the classes 2, 3, 4, and five etc. Just remember to keep the global anchor css intact. |
|
|
|
xbabyboo hover links Aug 5 2006, 10:54 PM
toyo loco Well there is a thing where you can give classes f... Aug 5 2006, 11:09 PM
I own yourr face. ^Mmm it's not an image rollover. I think she f... Aug 6 2006, 01:07 PM
toyo loco A link then? Did you try asking the person then st... Aug 6 2006, 01:13 PM
I own yourr face. Mmm that's right. Ahh. I'll use google to ... Aug 6 2006, 01:14 PM
toyo loco Screenshot? its a private profile for me.
So you ... Aug 6 2006, 01:16 PM
xbabyboo ^^thank you.topic can be closed. Aug 6 2006, 03:26 PM![]() ![]() |