Hi.
I have a page that consists of a table with table-layout: fixed and no width or height specified;
the page is displayed in an iframe and it can exceed its size both horizontally and vertically; both scrollbars are ok.
Browser is IE 7.
If page is displayed in quirks mode (no doctype at all), its body element (I colored all scrollbars differently to see who is getting which bar, read on) has normal scrollbars - e.g. vertical for too high, horizontal for too wide, both for both. Scrollbars are on the edges of the iframe where they should be.
Once I switch it to standards mode however, HTML element gets a vertical (but not horizontal) scrollbar. If the page exceed the width of the iframe, BODY scrollbars appear; however, HTML scrollbar doesn't disappear so I get a duplicate vertical scrollbar and horizontal scrollbar is all the way at the bottom of HTML vertical scrollbar 0_o
If I set html overflow-y to hidden, scrollbars only appear on BODY element, and only if the page is too wide - e.g. there's no way to scroll if it fits width and not height, and if it doesn't fir width, vertical scrollbar runs down way below the iframe height and horizontal scrollbar is at the bottom of the horizontal one, not at the iframe edge.
Is there any way to fix this in standards mode?