I have an iframe:
<iframe src="http://externaldomain.com/something.html">
If something.html from externaldomain.com has the css:
html { position: relative; }
In IE, it will render the iframe as blank. All other browser are fine.
Anyone know of a solution? Remember the same origin policy. I cannot alter anything within the iframe with javascript or change the css as the iframe src is external.
Thanks.
I would start by reading this Another Cross Domain iFrame Communication Technique and then look at a more elegant AJAX solution. I have seen a lot of situations where cross-domain iframes just don’t work (and for good reason).
IFrames are one step above IE in the Axis of Evil (IMO)