On Sun, Jan 3, 2010 at 1:09 AM, Alan Gresley <a...@css-class.com> wrote: [...] > <http://satzansatz.de/op/minheightrootoverflow.html> > > What you see is the whole viewport covered by the min-height div. If you > drag the bottom of the window upwards in IE8 and Opera 9~10 you will see a > vertical scrollbar appear. Now refresh the page and the scrollbar > disappears. Now drag the bottom of the window downwards in IE8 and Opera > 9~10 you will see the background of the HTML appear under min-height div. > This is re-flowed by these methods. > > a. Refreshing the page. > b. Dragging the left or right edge of the window in either direction. > c. Providing a hover transition effect to either the div, body or html. > > > The only way that I can fix (hack) Opera 9~10 is to insert another div. This > I presume breaks the 100% critical crisis point. IE8 still has the bug. > > <http://css-class.com/test/css/box/min-height-resizing-opera-hack.htm> >
FWIW, the IE8 vertical resize problem seems fixed by the presence of some specific content inside the min-height container, for example a display:table box, which can be empty and added with :after http://brunildo.org/test/minheightIE8_2.html As you said, Opera can be fixed by the addition of some box, so playing a bit more, the following seems to satisfy both Opera10 and IE8, using :after for both (I needed to add a position:relative on html for Opera) http://brunildo.org/test/minheightIE8OP10.html (Well, it's surely better to avoid these hacks altogether :-) and just live with the resize problem...) Best regards, Bruno -- Bruno Fassino http://www.brunildo.org/test ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/