Log In · Register

 
hover links, different colors.
PrincessAda
post 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 ?
 
 
Start new topic
Replies (1 - 7)
freeflow
post Aug 5 2006, 11:09 PM
Post #2


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

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



Well there is a thing where you can give classes for your links, but it would only work on links that you manually added, I never tried it before, but I could attempt to figure it out.

Are you sure it wasn't image rollovers though?
 
GREASEbaby
post Aug 6 2006, 01:07 PM
Post #3


What's my name? Janette. and ily. <3
******

Group: Member
Posts: 2,139
Joined: Apr 2006
Member No: 391,911



^Mmm it's not an image rollover. I think she found it at headrush lyts, they have that.

I remember looking at her source, but I was in a rush to really figure it out.
I'll go see if I can get it for you.
 
freeflow
post Aug 6 2006, 01:13 PM
Post #4


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

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



A link then? Did you try asking the person then stealing the code sort of? pinch.gif
 
GREASEbaby
post Aug 6 2006, 01:14 PM
Post #5


What's my name? Janette. and ily. <3
******

Group: Member
Posts: 2,139
Joined: Apr 2006
Member No: 391,911



Mmm that's right. Ahh. I'll use google to try to get it.

Anyway a link to a person who has that is heree
 
freeflow
post Aug 6 2006, 01:16 PM
Post #6


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

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



Screenshot? its a private profile for me.
So you did ask and she wouldn't tell you?
 
GREASEbaby
post Aug 6 2006, 01:22 PM
Post #7


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.
 
PrincessAda
post Aug 6 2006, 03:26 PM
Post #8


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



^^thank you.topic can be closed.
 

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