<div id="container">
<div style="float:left;width:200px; height:100px;">firstdiv</div>
<div style="float:left;width:200px; height:100px;">secondiv</div>
<div style="clear:both;">This div is used to clear the float propery</div>
</div>
In a container div i used two divs to hold some imgs. for displaying parllely i used float propery. i used third div to clear the float property. is it the right way to clear the float by using one more div or is there any option to clear the property with out using extradiv