Previous Message
Next Message

Firefox height, min-height difference for internal 100% divs

Sent by Tony Martin on 20 August 2006 12:12


Hi,

I have tried the archives, cannot see an answer, but it must be a simple 
one.

I am writing a page specifically for firefox.

#outer {
  background-color: red; width: 100%; height: 400px;
}
#leftcol {
  background-color: blue; width: 30%; height: 100%; float: left;
}

gives me what I want - leftcol same length as outer,  but I also would like 
the outer div to expand, so I set it to min-height: 400px.
Now the leftcol 100%  becomes the height of the viewport.

i can get what i want by setting leftcol to also be min-height 400px, but 
what is it that changes in interpretation of height and min-height?


Thanks for any info
Tony


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
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: