Is there a way to find out if paragraph x has any floating elements overlapping it.
for example, if you look at the following HTML:
<img src="" style="float:left;" />
<p> some more text</p>
Because the image is floating, then the text will be displaying around it. Once the height of the image is reached, any paragraphs further down the page will not have the image floating inside of it. Is there any way I can detect whether this is happening to a element on the page?