摘要: 自己写的测试案例刚开始发现居然没有空白的距离,后来请教才发现原来是因为没有换行的原因。注意只有inline-block换行了才会出现空白距离的问题。而且任何元素和标签只要在html里面进行了换行,显示在浏览器的会后就都会有间距。原型是:ul.test1{width:700px;text-align:center;list-style: none outside none;background:#eee;padding:0 10px;}ul.test1 li{display:inline-block;*display:inline;zoom:1;background:#f60;padding:5 阅读全文
posted @ 2012-12-26 17:55 sheena的世界 阅读(6463) 评论(0) 推荐(0) 编辑