2008年11月21日
摘要: 有别于IE3像素问题! 不光是LI,容器元素都有这个问题! 现象:LI里有浮动对象而LI本身不浮动的时候,IE里就会有2像素的下边距 解决:1、设定LI的浮动;2、IE HACK 推荐使用方案1,设置LI的宽度和浮动 方案2代码参考: *html .xuxiao li{margin-bottom:-2px;}/**IE 6**/ *+html .xuxiao li{margin-bottom:-2... 阅读全文
posted @ 2008-11-21 17:34 xiaohc 阅读(2093) 评论(2) 推荐(1) 编辑