News for hackers. Stuff that matters.
Re:Things I wish I’d known about CSS by the_other on Friday July 17, 2020 @12:44PM (#23872463)
The whole float-based layout thing was a hack. Floats make perfect sense if you only ever use them as floats: box-outs to run text around.

The fact you could use them to build all sorts of header/column/footer layouts was both very helpful and entirely confusing.

It became the default way to use CSS, for good reason. Yet, I always felt it was a shame it wasn’t often described as the hack it was.

There are no comments on this comment yet.