我想了解如何获得全宽头。问题是标题周围有一个很薄的白色边框,而不是全宽。如果重要,我不使用任何网格系统。全宽头和图像CSS
HTML
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/style.css" type="text/css" display="screen" >
<title>
test app
</title>
</head>
<body>
<div id="header"/>
</div>
</body>
</html>
CSS
#header {
float:left;
padding:15px 0;
min-width:100%;
background: #5FBEED;
}
任何帮助非常赞赏的感谢。
非常感谢但我不想要那么薄的白色边框,这是我的观点。我看起来像你的小提琴没有边框造型。所以它有没有我宣布的白色边框。 – JackLalley