divのコンテナの上部にdiv(灰色の背景)を作成しようとしていますが、左側の隙間があるため、背景幅のサイズに一致させることができませんブロック。divを正しく配置できない
誰かが私に理由を説明できますか?
body {
background-color: #a71930;
}
.container {
height: 1200px;
width: 1200px;
background-color: white;
margin-top: 50px;
}
div#about {
height: 400px;
width: 1200px;
background-color: #a5acaf;
margin-left: 0px;
}
<body>
<div class="container">
<div id="about"></div>
</div>
</body>