E Online Support - Free Software Download
Fix the issue of CSS collapsing parent div having floating children divFix the issue of CSS collapsing parent div having floating children div
License/Price:
Free / Free
Last Updated:
19 June, 2014
Category:
Scripts / Source Code / HTML and CSS

When float property applied to the element inside the non floated parent, the parent element doesn't stretch up automatically to accommodate the floated elements. This behavior is called collapsing parent. This is not always obvious if you do not apply some visual properties like background or borders to the parent elements, but it is important to be aware of and must dealt with to prevent strange layout and cross-browser problem.

Post Your Comments
Facebook   Linkedin   Skype   Twitter