Overlay left is incorrect on IE 6 and 7
deviantintegral - June 1, 2009 - 02:21
| Project: | Popups API (Ajax Dialogs) |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Jump to:
Description
If you're using popups with a fixed width theme, Internet Explorer 6 and 7 will display the overlay with the left of your container element. For example:
<body>
<div id="popups-overlay"></div>
<div id="fixed-container"></div>
</body>#popups-overlay's left will be wherever the container is calculated from the width: auto; declaration.
The attached patch fixes this issue by detecting IE 6/7 and manually setting the left to 0. IE8 fixed this bug, so it's not needed there.
Enjoy!
| Attachment | Size |
|---|---|
| fix_overlay_left_ie.patch | 786 bytes |
| IE7 Popup Left bug before.png | 484.04 KB |
| IE7 Popup Left bug after.png | 481.61 KB |

#1
Works for me!