Previous Message
Next Message

Re: 100% height in main block

Sent by Juan G Garcia on 29 September 2004 20:08


Thank you guys for your great help.  Anyway, setting height:auto; didn't
fix my problem nor setting min-height:771px; this last crashes for IE
all versions.

What I've  tried is mimic table behavior, using css table model like
this:

div#main {
display:table;
height: 100%;
}


It works great in Opera, Moz, IE5+ & Firefox.  See solution here:

http://www.bitcoder.com/csslab/100_percent_height/fixed.html


Juan Guillermo Garcia Lojan

PS:
Thank you Lachlan for this link:
http://www.mezzoblue.com/archives/2004/09/16/minheight_fi/
valuable information!!

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: