Log In · Register

 
Css Rollovers?
grizzlybearcody
post Aug 9 2009, 08:05 PM
Post #1


Member
**

Group: Member
Posts: 12
Joined: Aug 2009
Member No: 741,528



How can i do that?
 
 
Start new topic
Replies
Mickey
post Aug 10 2009, 06:25 PM
Post #2


Treasure Pleasure
********

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



Replace your codes with this:

CODE
<style>
a.twitter
{float:left;background:url("http://i25.tinypic.com/xdecno.jpg")repeat;width:30px;height:40px;display:block;}

a.twitter:hover
{float:left;background:url("http://i30.tinypic.com/25hq36f.jpg")repeat;}
</style>


<div class="codytwitter" style="position: absolute; top: 1540px; width: 30px; height: 40px; left: 50%; margin-left: -404px!important; background-color: transparent;"><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LnR3aXR0ZXIuY29t" class="twitter"></a>
</div>

Then next time you want to put up a rollover link, leave the image out like this:

CODE
<a href="URL" class="NAME"></a>

That should do the trick. Sorry about that.
 

Posts in this topic


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