摘要:
因为IE和Firefox对hr默认的各种属性margin,padding等等都不一样,所以定义为0也没用。 我们可以通过下面的CSShack来解决:.52css.com]hr.ducky{margin-bottom:1px!important;>margin-bottom:8px!important;margin-bottom:8px} 不只是针对hr,这只是一个例子。IE6和IE7对hr边距margin的解释是一样的,所以都定为8px,Firefox与IE有区别,下边距只能为1px。 第一条IE6,IE7,Firefox都读懂,这时候都是1px;第二条IE6,IE7能读懂,都用第二条的 阅读全文
posted @ 2011-02-28 16:46
网络爱上点击
阅读(530)
评论(0)
推荐(0)
浙公网安备 33010602011771号