Previous Message
Next Message

Opera 10 and percentage min-height

Sent by Bruno Fassino on 21 February 2010 06:06


On Fri, Feb 19, 2010 at 10:54 PM, Ingo Chao [EMAIL-REMOVED]> wrote:
>
>
> 2010/1/3 Bruno Fassino [EMAIL-REMOVED]>
>>
>> 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...)
>
>
> Thanks so much, Bruno!
> I just tried your pseudo-element solution in Opera 10 for a
> footerStickAlt-related problem and it worked well. Don't understand why
> position:relative on html changed the game, though.


Well, I've no idea, what Opera is doing here is really strange.
Without that position:relative the fix doesn't work. It can also be
applied to body instead of html.
Also strange is that the added a.p. element must have a percentage
height, including 0%.

Best regards,
Bruno

-- 
Bruno Fassino http://www.brunildo.org/test
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: