Grow your CSS skills. Land your dream job.

Basic CSS Question

  • # June 10, 2013 at 1:47 am

    This is likely a very basic CSS question, but can you click absolutely positioned anchor links?

    The reason I ask is because I’m working on a page that has an absolutely positioned anchor link that’s a child of an absolutely positioned DIV element that doesn’t seem to be responding when I click on it.

    That I can’t click on it makes me think it has something to do with the fact that it’s no longer technically apart of the DOM because of its position. If someone has a workaround, assuming it is the case that you can’t click on absolutely positioned anchor links, I’d love to hear it.

    # June 10, 2013 at 2:11 am

    Try setting a z-index on the child

    # June 10, 2013 at 2:13 am

    That worked beautifully. Thanks a lot!

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".