HighDots Forums  

having links with different colors hovers/styles.

alt.html.tags alt.html.tags


Discuss having links with different colors hovers/styles. in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
meiseen.michelle@gmail.com
 
Posts: n/a

Default having links with different colors hovers/styles. - 08-25-2006 , 03:12 PM






i want my links to hover in different colors in different links lik
this
http://scripts.cbimg7.com/01/339a.jpg
heres the code but it doesnt work...and its for myspace so no java
<style type="text/css">
..class1 a:hover{
font-family: NAMEHERE;
font-size: ##px;
color: HEXCODEHERE;
background-color: HEXCODEHERE;
text-decoration: none;
text-transform: none;
}

..class2 a:hover{
font-family: NAMEHERE;
font-size: ##px;
color: HEXCODEHERE;
background-color: HEXCODEHERE;
text-decoration: none;
text-transform: none;
}
</style>

2. <a class="CLASSNAMEHERE" href="URLHERE">


Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: having links with different colors hovers/styles. - 08-26-2006 , 03:33 AM






meiseen.michelle (AT) gmail (DOT) com wrote:

Quote:
.class1 a:hover{
The matches "A hovered <a> element that is a descendent of any element that
is a member of class1".

Quote:
2. <a class="CLASSNAMEHERE" href="URLHERE"
This is "A (hovered) <a> element that is, itself, a member of class1"

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.