Log In · Register

 
image rollover help
sauce2k6
post Mar 19 2007, 06:48 PM
Post #1


Member
**

Group: Member
Posts: 23
Joined: Nov 2006
Member No: 484,164



i cant get the code to work
and help would be highly appreciated

CODE
<style type="text/css">
.name{height: 95px; width: 89px; overflow: hidden; background: url(http://i9.tinypic.com/31617o6.png) top left no-repeat; display: block;}
.name:hover{background-position: bottom left;}
</style>



CODE
<a href="myspace.com" class="name"></a>
 
 
Start new topic
Replies
sauce2k6
post Mar 19 2007, 09:01 PM
Post #2


Member
**

Group: Member
Posts: 23
Joined: Nov 2006
Member No: 484,164



i got another problem lol

how would you position them so the pictures are next to each other
because i can only get it to show up one under each other

CODE
<style type="text/css">
.pic1{height: 95px; width: 89px; overflow: hidden; background: url(http://i12.tinypic.com/48c67fm.png) top left no-repeat; display: block;}
.pic1:hover{background-position: bottom left;}

</style>

<style type="text/css">
.pic2{height: 95px; width: 89px; overflow: hidden; background: url(http://i10.tinypic.com/4btaumx.png) top left no-repeat; display: block;}
.pic2:hover{background-position: bottom left;}

</style>



CODE
<a href="myspace" class="pic1">
<a href="myspace" class="pic2">



www.myspace.com/watchout336
 

Posts in this topic


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