So, I'm trying to create a div class that will display in a row and then automatically wrap to the next row when all the space is taken up.
.contributor_thumbnail {
display: block;
float: left;
width: 150px;
height: 150px;
border: 1px solid #777;
}
So that when I call the code like this:
<div class="contributor_thumbnail">thumb here</div>
<div class="contributor_thumbnail">thumb here</div>
<div class="contributor_thumbnail">thumb here</div>
<div class="contributor_thumbnail">thumb here</div>
The divs will sit side by side.
Right now the divs just overlap. Any ideas?