我想摆脱我的网站周围的白色边缘。我已设置#body #header和#html页边距:0;和填充:0;是否有人可以帮助与身体,标题和html设置在0的白色边缘
下面是HTML代码:
<DOCTYPE html>
<html>
<header>
<link href="CSS/stylesheet.css" rel=stylesheet>
</header>
<body>
<div id="bannertop"></div>
</body>
</html>
而CSS:
#html{
margin: 0 !important;
padding: 0 !important;
}
#header{
margin: 0 !important;
padding: 0 !important;
}
#body{
margin: 0 !important;
padding: 0 !important;
}
#bannertop{
height: 200px;
width: 100%;
background-color: cadetblue;
margin-top:0px;
}
下面是该网站的picure Website