ul的list-style:none;属性问题

2010年05月22日 14:09

css reset是去除各种浏览器对元素默认表现不一致的手段。那么我们常用的对列表的设置list-style:none;会有什么问题呢?

如果是在ie6和ie7中,ul设置了浮动,加上margin属性,为了避免ie6双边距bug,设置display:inline;那么项目符号虽然是不在了,但是他们的位置还在。最好的重置为:list-style:none outside none;

详见:http://bbs.blueidea.com/thread-2984999-1-1.html

posted @ 2010-12-03 13:53  xmlovecss  阅读(597)  评论(0编辑  收藏  举报