Min-height minimum height (compatible with IE6, IE7, FF) (solve IE6 incompatible min-height), min-heightie6
<! Doctype html>
<Html>
<Head>
<Meta charset = "UTF-8">
<Meta name = "Author" content = "Hu Chao">
<Title> super Hu </title>
<Style>
Div {
Background: # ccc;
Min-height: 100px;/* The minimum height is set to 100px IE6, which does not recognize min-height and min-width */
Height: auto! Important;/* compatible with FF and IE7! Important tag! Important only does not know ie6, IE6 executes height: 100px, and other browsers execute height: auto! Important ;! Important has the highest weight, which is equivalent to writing at the bottom */
Height: 100px;/* compatible with ie6 */
Overflow: visible;
Width: 100px;
}
</Style>
</Head>
<Body>
<Div>
Why is drinking water poisoned?
</Div>
<Br/>
<Div>
Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned? Why is drinking water poisoned?
</Div>
</Body>
</Html>