I currently have a variable number of floating divs, ranging from 1 to 10. When I display either 1-5 or all 10, they appear correctly:
item1 item2 item3 item4 item5
item6 item7 item8 item9 item10
However, when I try to display around 7 of them, things start to look strange:
item1 item2 item3 item4 item5
item6
item7
Can anyone advise on how to resolve this issue? Here is an example of the div code being used:
<div style="float:left; margin-right:4px; margin-top:5px; text-align:center; padding:7px; color:#0066a4; font-size: smaller; width:100px;">
<a href="#" onclick="getElectronicServiceCopy('10'); return false;"><img src="/images/images/Icons/Vehicle_Green.png" border="0"></a>
<br>Vehicle
</div>
Thank you for your help!