A web page I'm working on seems to work fine on most browsers, but not IE 5 on the Mac. It's not that important, but I'd love to know if anyone has a decent workaround that won't upset every other browser!
Here's a simple example of the problem:
Here's a simple example of the problem:
Code:
<div style="clear: both;">
<h2>Test</h2>
<img src="testimg.gif" width="320" height="250" style="float: left;" />
<p style="clear: none;">Some text</p>
</div>
[code]
In most browsers, the text will display to the right of the image. In IE5 on the Mac, it displays underneath. From what I understand, there's a bug that inherits the "clear" value from the parent, regardless of whether or not you redefine it on another element. I found a few articles that acknowledge this bug, but no workarounds as yet.
Has anyone had any luck getting around this? Like I say, it's no big deal really -- Microsoft have stopped developing IE on the Mac anyway -- but it's the only thing I haven't been able to fix on that platform.