DEV Community

Discussion on: `float:left` is not dead 🙇‍♂️

Collapse
 
toddpress profile image
Todd Pressley

Interesting to see a sane defense of float, good article.

The one thing I'd add is that images' default styles will wrap text around them since they're not blocks. The float: left; is only needed for our friend Drake in #1 because we have a block-level heading below his image. Move the heading above the image or change its display, and maybe add <p> tags around the lorem ipsum for good measure... It floats left naturally. Figured this is worth mentioning (: