My name is Khan
My name is Khan
My name is Khan
My name is Khan
--------------------------------------------------------
--------------------------------------------------------
The problem in the above file is that the data is out of the maincontainer. But when i delete the float from the container its again came into the the container. How can i make the 4 subcontainer classes data into the container class division tag without using specific number for the height tag in maincontainer class(It should be done using height:auto;)???
Thanks in advance...
Manoj RajputPosted Jul 27, 2012, 2:26 AM
there are so many solutions but best one is
add overflow:hidden; to .maincontainer that's it.
or
add float:left; to .maincontainer
Manoj RajputPosted Jul 27, 2012, 2:24 AM
My name is Khan
My name is Khan
My name is Khan
My name is Khan
nandu HPosted Jul 25, 2012, 9:00 AM
there are so many solutions but best one is
add overflow:hidden; to .maincontainer that's it.
Suthish NairPosted Jun 21, 2012, 3:43 PM
just set width for main container..
.maincontainer{