louisremi / background-size-polyfill

Adds support for background-size "cover" and "contain" to IE8
http://louisremi.github.com/background-size-polyfill/
MIT License
1.26k stars 359 forks source link

anchors over background-image on IE #25

Closed ianwarn closed 11 years ago

ianwarn commented 11 years ago

I have absolutely positioned anchors, as child elements of a div with a background image. On IE8, the anchors are always underneath the div - so cannot be clicked, even when explicitly set with z-index.

jefferyto commented 11 years ago

Can you post a link?

ianwarn commented 11 years ago

http://aograduate.awaredesign.co.nz/what-we-offer/your-career-path/ Click on the headline 'I’m a law student' to reveal the infographic - compare it to non-IE browsers to see interaction. I can accept that background-position rollovers probably won't work using this method, however as content is shown using the anchor link, it would be great if they were at least clickable.

jefferyto commented 11 years ago

I get a 404 when I open that page, can you check?

ianwarn commented 11 years ago

Sorry - in the middle of development. Page has moved to here: http://aograduate.awaredesign.co.nz/what-we-offer/your-route-to-qualification/

jefferyto commented 11 years ago

Try setting a transparent background image to the links. IE sometimes doesn't recognize clickable areas unless it has a background colour or image.

ianwarn commented 11 years ago

Perfect! Thanks, Jeffery for your quick and complete fix.