...

View Full Version : Button CSS Rollover Help please



offthewall
08-01-2011, 07:32 PM
I have a button that I had, the button animation is working fine, but when I click on the button it does not transfer me to the page I'm trying to transfer it to. It looks like nothing happens. Just stays on the same page.

HTML:


<td><a id="btn" href="http://www.google.com" title="Google"></a></td>


CSS:



#btn
{
display: block;
width: 293px;
height: 103px;
background: url("images/btn1.gif") no-repeat 0 0;

}

#btn:hover
{
background: url("images/btn2.gif") no-repeat 0 0;
}

#btn:active
{
background: url("images/btn3.gif") no-repeat 0 0;
}


#btn span
{
position: absolute;
top: -999em;
}

Sammy12
08-01-2011, 09:00 PM
try posting the entire script. that would help with debugging.
better yet, upload it to a server so we can see a live view of the problem



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum