Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS One div doesn’t float left Re: One div doesn’t float left

#132924
Alen
Participant

You have to define height on the floating element otherwise it will always float at the edge of `h2` element.

See here: http://codepen.io/anon/pen/EkKDy