Solving CSS Float Problem
Tutorials Shared by the Internet Community
Total Hits - 31804
Total Votes - 112 votes
Vote Up - 49 votes
Vote Down - 63 votes
Domain - www.onlywebpro.com
Category - CSS/Basic
Submitted By - onlywebpro
Submitted on - 2013-03-06 14:58:00
As a web designer, we always see a problem happened when a floated element is within a container div, the floated element doesn’t automatically increase the height of the container. The main reason causing this problem is the container doesn’t contains the floated element anymore, when the element is floated.
Here is a technique to address the problem of CSS float. More detail...