One of the common problems we face when coding with float based layouts is that the wrapper container doesn’t expand to the height of the child floating elements. The typical solution to fix this is by adding an element with clear float after the floating elements or adding a clearfix to the wrapper. But did …
Tag: Clear Floats using CSS
Permanent link to this article: https://blog.openshell.in/2011/05/clearing-floats-with-overflow-using-css/