Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

iframe parent element loses its :hover status

$
0
0

Hi!
Let's assume I have this structure:

<div class="parent"><iframe src="path/to/content"></div>

Now I want to use some css on .parent, specifically a :hover pseudoclass. When I hover above .parent, but not yet inside the iframe, the :hover-class is triggered. When I move the cursor above the iframe, .parent loses its :hover.

Internet Explorer and Edge are the only browsers to show this behaviour, so I'm guessing this is a render bug in trident? Any ideas on how to solve it?

-Daniel


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>