Get a free trial // Grow your CSS skills // Land your dream job

Buttons and links not working in certain DIVs

  • # April 11, 2013 at 5:33 am

    Hi all,

    This is my first post here. It’s been a while since I’ve been working on CSS stuff.

    I’ve searched the web but couldn’t find a solution, but I’m sure this is an easy one!

    I have a CSS sprite button which isn’t clickable inside my header DIV, but if I put the exact same button in my content DIV it works fine. The same goes for any links.

    You can see it live here
    []( “”)

    This is my HTML:

    This is my CSS:

    I presume some CSS attribute is being inherited to cause the links and buttons to be inactive… Any idea which one is doing this?

    Thanks guys.

    # April 11, 2013 at 5:41 am

    Remove `position:relative` from .wrap.

    I see that you have


    on a lot of classes…you can remove that…it’s doing anything.

    # April 11, 2013 at 6:05 am

    That worked, thanks a mill :)
    I would have never have thought that would have caused the issue!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed