My webpage is suffering from two IE6 rendering errors. Each of them has workarounds, but, unfortunately, the workarounds mentioned are incompatible with each other.
Here is the minimum test window . Behavior in Firefox / Safari is desired / correct. IE7 is unknown since I do not have access to it right now.
First mistake: #content has overflow: auto and contains a relatively positioned div. IE6 incorrectly gives a relatively positioned div a โfixedโ look. Workaround: Set Position: relative to #content.
Second error: a modal pop-up window is sometimes displayed on the page. The Z-index in the pop-up and background mode is set very high so that nothing prevents them from interacting. This works fine until I set the position: relative to #content, which makes IE6 completely ignore the z-index property .
How can I make these mistakes play beautifully with each other? (Note: Remotely formatting the hard drives of users still using IE6 is not an option, much to their disappointment.)
Edit: Here is a second test case that shows what happens when I apply a position: in relation to content. The first error ("fixed" view # of the header content) has been resolved, but this leads to a z-index error and a confusion of the modal background.
source
share