テクノロジー共有IE 6はmin-heightの解決策をサポートしていません


           IE6   min-height     ,            ,               。

IE6   min-height     

    min-height     , IE6    。   。      ?

     :      IE6   !important   : 

height:auto!important;  height:500px;  min-height:500px;    3     IE6     min-height   ,                       。

HTML   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  <html xmlns="http://www.w3.org/1999/xhtml">  <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />  <title>        </title>   </head>   <style type="text/css"> *{ margin:0; padding:0; }   body{ font-family:Arial, Helvetica,  ,sans-serif; font-size:12px;    text-align:center; background-color:#D4D5CC; }   #wrapper{ height:auto!important;   height:500px; min-height:500px;   width:760px; background-color:#e5e5e5; border:1px solid #fff;   text-align:left; line-height:150%; padding:20px; margin:10px auto; }   </style> <body> <div id="wrapper">   The Furthest Distance In The World <br />           <br />   Tagore    <br /> The furthest distance in the world <br />             <br /> Is not between life and death <br />         <br /> But when I stand in front of you <br />             <br /> Yet you don't know that I love you <br />            <br />   </div>  </body>  </html>  [Ctrl+A      :         ,    ]

◆      : IE6IE5IE7FF      ,     W3C   ,    :

HTML   

#test { min-height:100px; background:#BBB; _height:100px; overflow: visible; }   [Ctrl+A      :         ,    ]

        CSS   。

min-height:100px;    ie7 FF         。。
_height:100px    ie6,ie5      。    W3C  :L
overflow:visible;       #test     100px      。

  :     #test      overflow:visible。          。