I have this example and I need to stop the blue div from overflowing (respect the padding), but I need 100% width.
<div id="container">
<div id="content"></div>
</div>
#container{
width: 400px;
display: block;
padding-left 50px;
border : solid 1px brown;
min-height: 400px;
background: green;
}
#content {
margin-left: 50px;
margin-right: 50px;
min-height: 200px;
width:100%;
background: blue;
}
pls how could I do that.