Is it possible to create a popup with sub_div elements without experiencing blank spaces when resizing the window? Take a look at this example:
<div id="all">
<div id="sub_all"></div>
<div id="sub_all"></div>
<div id="sub_all"></div>
<div id="sub_all"></div>
<div id="sub_all"></div>
</div>
#all {
background:#ccc;
width: auto;
display:table;
}
#sub_all {
background:#ff0000;
float:left;
margin-left:10px;
margin-bottom:5px;
width:30px;
height:30px;
}
When resizing the window to a smaller size, there may be empty space in the "#all div". Any suggestions on how to fix this issue?