Earlier quoted context omitted.
I think it was advised a bit too early, but ever since flexbox entered the scene, tables for page formatting became irrelevant. And just in case, nobody ever said tables were dead. Tables were declared bad practice for page formatting, not for tabular data.
Do not use flexbox for page layout. It invites nested flexboxes, which eats your reflow performance. Use grid instead.
Incomplete list of mistakes in the design of CSS
41–50 of 132 posts
Re: Incomplete list of mistakes in the design of CSS
#42I will never understand the bizarre scene of the web's smug collective declaration that tables were dead and not to be used juxtaposed against the years it took to regain the ability to reliably center things. Assuming one agrees that we even did regain it. Related: I also love when I can't paste tabular data into Excel/etc. anymore For the record, I don't hate the idea of stylesheets, but...sheesh
Tables aren’t dead, they never were… when displaying tabular data. When it comes to layout I think you might be wearing rose tinted glasses. Remember having to put a 1px image in a table cell to avoid it disappearing? Remember “best viewed at 800x600”? I’m personally not nostalgic for either.
Isn't this a trivial problem to solve that doesn't require introducing any new layout mechanisms?
Re: Incomplete list of mistakes in the design of CSS
#43Re: Incomplete list of mistakes in the design of CSS
#44For me, the mistake is having style attributes in html. You should be able to write Instead of
Re: Incomplete list of mistakes in the design of CSS
#45Why can't this be dealt with with CSS versioning/features where you can opt into your current-color and a lot of more substantive style behavior while leaving currentColor functional?
Re: Incomplete list of mistakes in the design of CSS
#46Earlier quoted context omitted.
Useful insight: any sources?
From 2014 https://jakearchibald.com/2014/dont-use-flexbox-for-page-lay...
The most important thing is to use the right tool for the job. If grid lets you express what you want in the most straightforward way, use it; if flexbox does - even if it needs nesting - then use it instead. Don't shoehorn one into a situation where the other makes more sense. And sometimes either will work for a particular situation and that's fine too; use whatever you find most ergonomic. They're both very good in their own way.
Re: Incomplete list of mistakes in the design of CSS
#47I will never understand the bizarre scene of the web's smug collective declaration that tables were dead and not to be used juxtaposed against the years it took to regain the ability to reliably center things. Assuming one agrees that we even did regain it. Related: I also love when I can't paste tabular data into Excel/etc. anymore For the record, I don't hate the idea of stylesheets, but...sheesh
Usually I declare victory when they say that tables might get depreciated in the future.
They at one point really wanted to get rid of framesets. I asked how to make the classic scrollable resizable side top bottom UI in pure CSS. We've tried for hours, everything we tried looked ugly and didn't fully work. framesets are here to stay now :)
I still have one of the funnier "how to make this without tables?" challenges. It's not a very good example of the use of tables but did make me laugh.
Re: Incomplete list of mistakes in the design of CSS
#48Earlier quoted context omitted.
Tables aren’t dead, they never were… when displaying tabular data. When it comes to layout I think you might be wearing rose tinted glasses. Remember having to put a 1px image in a table cell to avoid it disappearing? Remember “best viewed at 800x600”? I’m personally not nostalgic for either.
For what it’s worth, the very page we’re on here still uses tables and spacer gifs, in 2025. (EDIT: I don’t mean to imply that this is good, just an inescapable observation in this context)
Re: Incomplete list of mistakes in the design of CSS
#49>Comments shouldn't have been allowed basically everywhere in CSS (compare to HTML, which basically only allows them where content goes), because it makes them basically unrepresentable in the object model, which in turn makes building editing directly on top of the object model impossible
Re: Incomplete list of mistakes in the design of CSS
#50They do with left+right, and have done this for a very long time. You only get the anchoring if you additionally set width.