3 ms·
I'm mostly with you, but it seems like an antipattern to ignore HTML structure like that.
by isaaclyman 10y ago
I'm mostly with you, but it seems like an antipattern to ignore HTML structure like that.
- have_faith 10y agoIt doesn't ignore HTML structure, it ends up like it does precisely because it iterates through the structure in order when moving the boxes to either side. It makes it fairly predictable if you just loop through the structure in your head and push the boxes to the side they are floated at.
- freeone3000 10y agofloat deliberately takes elements out of content flow ("ignores HTML structure"). That's its entire thing. That's its deal. You don't want that? Don't use float.
- freeone3000 10y agofloat deliberately takes elements out of content flow ("ignores HTML structure"). That's its entire thing. That's its deal. You don't want that? Don't use float.