Log In · Register

 
 
Closed TopicStart new topic
how to use this code ?
Yuniechan
post Oct 9 2008, 01:04 AM
Post #1


Senior Member
***

Group: Member
Posts: 84
Joined: Mar 2007
Member No: 511,742



to use codes like this but only when hover on text that is a link ?

CODE
<span style="background-color:COLOR">YOUR_TEXT_HERE</span>
 
Mickey
post Oct 9 2008, 02:48 AM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Try this:

CODE
<style>
a:hover {background-color:COLOR;}
</style>

Change COLOR to the color you want.
 
aQuafly
post Oct 9 2008, 10:43 PM
Post #3


Better than Firefly; aQuafly
***

Group: Official Designer
Posts: 75
Joined: Oct 2008
Member No: 689,363



or you can make your own type of links using this

CODE


<style>
a.linknamehere
{color:colorhere;
font-family:fonthere;
font-size:XXpx;}

a.linknamehere:hover
{color:colorhere;
font-family:fonthere;
font-size:XXpx;
background-color:colorhere;}

</style>



and then you make links using this

CODE


<a class=linknamehere" href="linkhere">Click</a>



you can change the linknamehere to whatever you'd like, but just keep the name consistent in all of the coding.
 
melindadivine
post Oct 10 2008, 03:58 AM
Post #4


Newbie
*

Group: Member
Posts: 5
Joined: Jul 2008
Member No: 670,131



yay links!!

yeah just do a css link code..its easier...
 

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