
我怎样才能在整个网格中获得1px边框?
这就是我的意思:
http://jsfiddle.net/Before/4uPtj/
HTML:
<div > <div ></div> <!-- 15 more times --></div>
CSS:
div.grIDcontainer{ wIDth: 80px; line-height: 0;}div.grIDitem{ display: inline-block; border: 1px solID black; wIDth: 18px; height: 18px;}解决方法 边境倒塌财产有帮助吗? The border-collapse property sets whether the table borders are collapsed into a single border or detached as in standard HTML.
见:http://www.w3schools.com/cssref/pr_border-collapse.asp
table#mytable{ border-collapse:collapse;} 总结 以上是内存溢出为你收集整理的html – 如何使用CSS折叠一组标签的边框?全部内容,希望文章能够帮你解决html – 如何使用CSS折叠一组标签的边框?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)