Hi please check this code. My main(#main) is not increasing according to the
height of other two divs . When i run the code the div is working fine but
when i checked using firebug the main container(#main)s height is not
increasing. Its shwoign in smalll size. WHy its so.
Is there any way to increase the main container div when the subone
cointainer increases.
*HTML Code*
<div id="main">
<div class="subone">
</div>
<div class="subone">
</div>
</div>
*CSS Code is *
#main{
height:auto;
}
.subone{width:200px;background-color:red;height:200px;float:left;margin-right:5px;}
--
With Love,
Vishnu,
Mobile : 9544455735
--
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]