padding-bottom在IE6下失效的原因

<li><a><a/><li/>
CSS:
a{ float:right; }
li{ padding-bottom; overflow:hidden}
因为 li 使用了 overflow(清除浮动),padding-bottom失效
解决办法有:

一、将overflow去掉,使用float。

二、

.clearfix{
  *zoom: 1;
  &:before,
  &:after{
    display: table;
    content: "";
    line-height: 0;
  }  
  &:after{
    clear: both;
  }
}

将overflow换成.clearfix来清除浮动。

原文地址:https://www.cnblogs.com/damade/p/3518621.html