Div Popup fix the page content height

If you changeposition: absolutetoposition: fixedit will work in all browsers except IE6. This fixes the div to the viewport, so it doesn't move out of view when scrolling.

You can use$(document).height()in jQuery to make it work in IE6 too. E.g.

$('.screenMask').height($(document).height());

你可能感兴趣的:(content)