I am currently working on a site that uses ajax to load content into a jQuery modal dialog.
In Win7 Firefox, Chrome, Safari and Opera everything works fine.
In Internet Explorer 7-9pp and on mac firefox, chrome, safari and opera, the size of the modal background layer seems wrong and creates vertical and horizontal scrolling until you resize the browser.
I downloaded the current demo here: - (removed to free some web space on my server, see comments / answers for details on the problem / solution)
the basic layout is something like this
<body> <div id="wrapper">header, navigation, footer and stuff</div> <div class="ui-dialog"></div> <div class="ui-widget-overlay"></div> </body>
with the following styles
html { height: 100%; overflow-y: scroll; } body { display: block; height: 100%; margin: 0; padding: 0; } .ui-widget-overlay { position: absolute; bottom: 0; left: 0; }
Thanks in advance for everything.
source share