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 (:
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 itsdisplay, and maybe add<p>tags around the lorem ipsum for good measure... It floats left naturally. Figured this is worth mentioning (: