Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Button CSS Rollover Help please

    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:
    Code:
    <td><a id="btn" href="http://www.google.com" title="Google"></a></td>
    CSS:
    Code:
    #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;
    }

  • #2
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •