News for hackers. Stuff that matters.
Re:Incomplete list of mistakes in the design of CSS by afavour on Thursday December 11, 2025 @12:36AM (#46228033)
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.
Re:Incomplete list of mistakes in the design of CSS by tobr on Thursday December 11, 2025 @03:53AM (#46229095)
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 by Popeyes on Thursday December 11, 2025 @04:20AM (#46229283)
Probably why there are endless reworkings of the site.
Re:Incomplete list of mistakes in the design of CSS by anonymars on Thursday December 11, 2025 @11:09AM (#46233159)
I imagine it's also why its size is measured in kilobytes and loading time in milliseconds
Re:Incomplete list of mistakes in the design of CSS by eviks on Thursday December 11, 2025 @04:04AM (#46229167)
> Remember having to put a 1px image in a table cell to avoid it disappearing

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 by erfgh on Thursday December 11, 2025 @03:23AM (#46228920)
There were better solutions to those problems than the CSS debacle.
Re:Incomplete list of mistakes in the design of CSS by dahcryn on Thursday December 11, 2025 @04:31AM (#46229356)
at least they were specific

Today it's usually implicitly designed for iphone, designed for 1080p, or ipad, and you have to guess, strong correlation with whatever device the designer uses in his personal life.

Re:Incomplete list of mistakes in the design of CSS by afavour on Thursday December 11, 2025 @09:28AM (#46231797)
...no? Today's sites use responsive design and adapt to pretty much any screen size.
Re:Incomplete list of mistakes in the design of CSS by dspillett on Thursday December 11, 2025 @11:52AM (#46233793)
> Today's sites use responsive design and adapt to pretty much any screen size.

Today sites certainly can and some (many) so. But some (also many) definitely don't…

A lot are locked to a maximum width, which is OK enough as l……o……n……g lines of text are unpleasant to read, but only because browsers hack the meaning of dimension settings to make text zoom work consistently.

A lot also have an effective minimum width (even if they use responsive styling to move/ minimise/hide side decoration before a certain point) that is not always convenient. Try browsing with a thin window so you can have something in the other side of your screen. Some assume no one on desktop will ever have a browser window less wide than 1280 pixels (or equivalent on a zoomed higher res screen) - not the case on my 1080p portrait screen and I sometimes want things thinner than 1280 on my 2560x1440 screen. You could say I'm just odd and they can't cater for everyone, but 1080 or a bit less wide is hardly miles away from many devices physical layout so if a design can't display nice in that can it really call itself "responsive" (I suspect any such design would fail on many mobile devices too - 1080px effective width is rather common there, as are smaller widths).