May 25, 2011

DIV over IFRAME

Another problem while working with websites and IE6 browsers is you come across, to place a DIV over an IFRAME.

Now it works fine in all browsers, except in IE6. And to your dismay, you cant even alter the CSS of the IFRAME objects by modifying the Z-INDEX. So thats where you are in a fix.

Good news is that for every problem there is a solution. For every issue there is fix.

Before the fix, let me show you how exactly the issue is resolved too.



I have tried to explain how the issue is actually resolved in the code itself.
We create a dynamic IFRAME over the DIV using the script. Now thats the simplest and best solution I could give :)

No comments:

Post a Comment