min-height IE6的解决方案

selector {

  min-height:500px;

  height:auto !important;

  height:500px;

}

因为IE6中当内容大于容器高度或宽度时,就会撑破容器。并且在同一个规则里,重复定义一个属性,即使先定义的值包含!important也会被忽略而覆盖掉该值。

原文地址:https://www.cnblogs.com/WhiteCusp/p/3728525.html