I have the following div before my footer and i want to have evenly distribute some more divs in it. currently i'm using manual margin percentage but I want to know is there a way to let CSS automatically distribute them with even space?
CSS
#books {margin:10px auto;}
.bookimage {width:7%;
padding-top:7%;
display:inline-block;
margin:2%;
}
HTML
<div id="books">
<div class="bookimage"> </div>
<div class="bookimage"> </div>
<div class="bookimage"> </div>
<div class="bookimage"> </div>
<div class="bookimage"> </div>
<div class="bookimage"> </div>
<div class="bookimage"> </div>
<div class="bookimage"> </div>
</div>