The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Floats problem
Could somebody explain to me how to clear floats the wright way? Because floats really confuses me.
It’s not really the floats that were your problem…it was the structure.
http://codepen.io/anon/pen/fbrCm
I’ve used the overflow:hidden method to clear the floats but there are others.
You might want to look at this too…which includes a simple grid and a clear method.
https://css-tricks.com/video-screencasts/115-dont-overthink-it-grids/