Yes its worked sir. Its fine fine fine thousands of thanks
2011/6/13 E.P. <[email protected]> > Sorry mate. It doesn't make much sense. > > At first: why height:auto? > two: There is no content between divs with class='subone'. > > What I think u might try is: #main{overflow:auto;} > > > Ev. > > > > > ------------ Původní zpráva ------------ > > Od: Vishnu vg <[email protected]> > > Předmět: [Design with CSS 3388] Help needed > > Datum: 13.6.2011 17:04:54 > > ---------------------------------------- > > 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] > > > > > > -- > -- > 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] -- 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]
