Css can be pretty tricky. In this blog I will keep appending the quirks I notice in CSS.
:
When a Div is floated the div will cut across the containing div if the containing div is smaller than the floated div.
Fix:
Create another inner div at the end of the containing div and give the Css property clear:both. This will force the containing div to be bigger than the inner div’s.
Mar
23
Tricky CSS
0
comments
