Grow your CSS skills. Land your dream job.

Prevent IE users from "clicking through" DIVs?

  • # September 1, 2009 at 7:35 pm

    Hi all,

    You’re probably aware of IE’s "ability" to "click through" areas of DIVs with no content.

    Is there a way to prevent this?

    Thanks!

    # September 1, 2009 at 9:42 pm

    Perhaps it’s just your phrasing of the problem, but I actually have no idea what you’re referring to!

    # September 2, 2009 at 4:44 pm

    Sorry, try checking out the results of this search:

    http://www.google.com/#q=ie+click+through+div

    Problem is, in every result they are trying to duplicate IE’s incorrect behavior in standards-compliant browsers, rather than correct it.

    Basically, if you position a DIV over, say, a link, and the DIV covers the link entirely, then that link should not be clickable. In IE, however, unless the DIV has content covering the link, the link will still be clickable.

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".