Log In · Register

 
WTF., image rollovers...>;[]
aesthetic
post Nov 19 2007, 05:54 PM
Post #1


Lover
***

Group: Member
Posts: 77
Joined: Mar 2005
Member No: 117,184



I can't get my image rollovers to work :( I've tried countless different ways to do it, here's what I have now.

CODE
a.add {width:53px; height: 57px; display:block;
background-image:url(http://i13.tinypic.com/853zz8x.png);}
a.add:hover {cursor:help;}
a.add:hover img {visibility:hidden;}
</style>

<a class="add" href="##"><img src="http://i14.tinypic.com/8ggbin4.png"></a>


And of course there's an opening style tag.
 
 
Start new topic
Replies (1 - 10)
aesthetic
post Nov 19 2007, 06:58 PM
Post #2


Lover
***

Group: Member
Posts: 77
Joined: Mar 2005
Member No: 117,184



Ok let me try your way, I tried that version too and it didn't work for me, I'll go see if this works.
 
aesthetic
post Nov 19 2007, 07:04 PM
Post #3


Lover
***

Group: Member
Posts: 77
Joined: Mar 2005
Member No: 117,184



No bueno, this is what I did:

CODE
.create{
    height:69px;
    width:43px;
    background-COLOR:transparent;  
    background: url(http://i4.tinypic.com/8dvtfsy.png);
    background-position:top left;
    background-repeat: no-repeat;
    display: block;}

.create:hover{
    background-position: top right;}
    

</style>

<a href="URLHERE" class="create"></a>


I even tried:
CODE
<a href="URLHERE" class="create"><img src="http://i4.tinypic.com/8dvtfsy.png"></a>
 
aesthetic
post Nov 19 2007, 08:03 PM
Post #4


Lover
***

Group: Member
Posts: 77
Joined: Mar 2005
Member No: 117,184



hm, must be my other coding.
 
newkidontheblock
post Nov 19 2007, 08:53 PM
Post #5


Offline.
*****

Group: Official Designer
Posts: 609
Joined: Mar 2007
Member No: 507,591



QUOTE(SinfullySweet @ Nov 19 2007, 08:01 PM) *


Works Fine For Me Tooo....
 
aesthetic
post Nov 19 2007, 09:06 PM
Post #6


Lover
***

Group: Member
Posts: 77
Joined: Mar 2005
Member No: 117,184



OMG. I figured it out, the code right about it was messing an end bracket... blink.gif Not only do I feel stupid but I spent pretty much all day trying to figure it out.
 
Marlons
post Nov 19 2007, 09:10 PM
Post #7


Thread Killer
******

Group: Staff Alumni
Posts: 1,012
Joined: Jun 2007
Member No: 530,544



OMG it't that easy!
Wow.I should have put rollovers in my layouts a long time ago.
um thanks aesthetic for posting this topic.much appreciated.
 
aesthetic
post Nov 19 2007, 09:22 PM
Post #8


Lover
***

Group: Member
Posts: 77
Joined: Mar 2005
Member No: 117,184



hang on one more question, hover your mouse over the image 'add', the second image, isn't lined up right, is it because of the image, or coding

link
 
aesthetic
post Nov 19 2007, 09:32 PM
Post #9


Lover
***

Group: Member
Posts: 77
Joined: Mar 2005
Member No: 117,184



QUOTE(aesthetic @ Nov 19 2007, 08:22 PM) *
hang on one more question, hover your mouse over the image 'add', the second image, isn't lined up right, is it because of the image, or coding

link


long time no talk.
 
aesthetic
post Nov 19 2007, 09:43 PM
Post #10


Lover
***

Group: Member
Posts: 77
Joined: Mar 2005
Member No: 117,184



QUOTE(aesthetic @ Nov 19 2007, 08:32 PM) *
long time no talk.



omg it worked thanks!
 
aesthetic
post Nov 19 2007, 10:12 PM
Post #11


Lover
***

Group: Member
Posts: 77
Joined: Mar 2005
Member No: 117,184



Yes you may close, thanks :)
 

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