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 (1 - 11)
clarity
post Mar 19 2007, 06:56 PM
Post #2


vengeance.
*******

Group: Official Member
Posts: 3,058
Joined: Jul 2006
Member No: 437,024



^ you didn't put the image in the url?
 
sauce2k6
post Mar 19 2007, 07:11 PM
Post #3


Member
**

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



were does that go? lol

cause i thought i had it in the first box?

"url(http://i9.tinypic.com/31617o6.png)"

:D
 
Relentless
post Mar 19 2007, 07:22 PM
Post #4


sang loves hayden.
*******

Group: Staff Alumni
Posts: 3,373
Joined: Feb 2004
Member No: 5,687



Hmm, it should work. on the "name" part, you're suppose to make a name for it. Just pick a name for it, and that should work?
 
sauce2k6
post Mar 19 2007, 07:39 PM
Post #5


Member
**

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



i changed the name and still nothing

and im using this code on a blank myspace page
 
*Azarel*
post Mar 19 2007, 07:59 PM
Post #6





Guest






What is it that isn't working about the rollover? Using the code you provided in the first post (and not changing anything), it seems to work as shown here. If it's not linking to the place you want, it's because to link outside of myspace, you'll have to include http://
 
sauce2k6
post Mar 19 2007, 08:09 PM
Post #7


Member
**

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



aww well
it doesnt show up at all on my page
like no image
no nothing
 
*Azarel*
post Mar 19 2007, 08:11 PM
Post #8





Guest






Hm, can you either provide a link to the myspace that you're working with or the rest of your coding?
 
sauce2k6
post Mar 19 2007, 08:17 PM
Post #9


Member
**

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



www.myspace.com/watchout336


and there is no other coding in it

just this image rollerover code

edit:

i just checked my page and now its working lol

thank you for your help
really appreciate it and the fast response

wonder why though before it wasnt showing up

o well lol
 
sauce2k6
post Mar 19 2007, 09:01 PM
Post #10


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
 
*Azarel*
post Mar 19 2007, 09:03 PM
Post #11





Guest






Make sure there's no space in between your links.

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


would become:

CODE
<a href="myspace" class="pic1"><a href="myspace" class="pic2">
 
Relentless
post Mar 19 2007, 09:17 PM
Post #12


sang loves hayden.
*******

Group: Staff Alumni
Posts: 3,373
Joined: Feb 2004
Member No: 5,687



I can see it and there working for me. o.O
 

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