标签:
html页面出现白边,这个白边是由不同浏览器body默认的外边距造成的。
只要用css重写页面边距即可:
1 body { 2 margin:0px; 3 } 4 5 #container { 6 position:relative; 7 margin-right:auto; 8 margin-lef:auto; 9 10 }
【Web前端笔记】浏览器页面白边问题,css修改默认边距
原文地址:http://www.cnblogs.com/tanghuian/p/4601862.html