.zoom vs. absolute
Posted on 2011-03-21
I use HTML tables (set to ".style.position:absolute") to act as pop-up message boxes, etc., that display on top of the regular window contents. This worked fine until I started using "document.body.style.zoom = ..." to resize the page to fit any window. For some reason, tables set set to "position:absolute" refuse to zoom, and related measurements (from ".clientHeight", "getScrollXY()", etc.) seem strangely incorrect.
Even directly using .zoom on specific elements gives strange results. But, if I manually use the external zoom control located in the lower-right corner of Internet Explorer, everything (including items set to "aboslute") zoom together correctly.