The red elements below are my divs, the big black rectangle is what the user sees in the browser (window), I think the image is self-evident, and it is html and css that cause the current result: / p>
<div class="wrapper">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
CSS
.wrapper{
position: absolute;
bottom: 10px;
left: 0;
width: auto;
height: auto;
}
.wrapper div{
float: left;
margin: 5px;
border: 1px solid red;
width: 200px;
height: 80px;
}
What do I need to change or add to make sure most divs go to the next line?

source
share