Makes you wonder why HN won't budge with those tags in the source code. One day I hope to see "Table layouts are back with tags" and the HN programmers would have saved themselves so much work.
Would there be a benefit to changing from to something else, if works just fine for the purpose? If it ain't broke, right?
CSS Grid – Table layout is back. Be there and be square
41–50 of 280 posts
Re: CSS Grid – Table layout is back. Be there and be square
#42I still use plain old tables in 2017. Number of unhappy customers: 0
Re: CSS Grid – Table layout is back. Be there and be square
#43Makes you wonder why HN won't budge with those tags in the source code. One day I hope to see "Table layouts are back with tags" and the HN programmers would have saved themselves so much work.
What, exactly, is the problem with the tag in the first place? Been a long, long time since I last touched HTML
Re: CSS Grid – Table layout is back. Be there and be square
#44The biggest game-changer to me seems to be the last example, with `grid-template-areas`. I could probably explain this in a matter of minutes (as opposed to flexbox).
Re: CSS Grid – Table layout is back. Be there and be square
#45why is this better than tables?
Because indicates that it contains tabular data, and implies lots of things about the content that it contains that would be misleading when using table-based layout. And display: table, which uses CSS to make things look the same, without implying anything about the content, wasn't supported by Microsoft, back when they they were a) the only browser that mattered, and b) trying to hold back the web to protect their…
Re: CSS Grid – Table layout is back. Be there and be square
#46Re: CSS Grid – Table layout is back. Be there and be square
#47I still use plain old tables in 2017. Number of unhappy customers: 0
Re: CSS Grid – Table layout is back. Be there and be square
#48Makes you wonder why HN won't budge with those tags in the source code. One day I hope to see "Table layouts are back with tags" and the HN programmers would have saved themselves so much work.
What, exactly, is the problem with the tag in the first place? Been a long, long time since I last touched HTML
Flexibility is what allowed webpages to be "responsive" before media-queries even existed, and semantics is what allows accessibility, search engines, and other html parsing tools ("readability" in Firefox and Safari, ...) to function better.
The only advantage it has is that it's old and predictable. That's why it's still used to format emails for instance, it's reliable and works on most supports.
Re: CSS Grid – Table layout is back. Be there and be square
#49This is excellent. And with the fast pace of browsers, and the improved habits of users (or automatic updates), it should be available for 95%+ of users within a year (It's in the current Safari Technology Preview, so Safari should get it with the next macOS point update). This is also a good moment to remind people that you don't need Bootstrap and the like as much as you used to. Grids were 90% or the reason people…
only if you don't have enterprise customers. Those will continue to run IE11 for the foreseeable future as IE11 will remain supported in Windows 10 until 2025.
While Microsoft is pushing Edge as an IE replacement, Edge is still lacking features and looks too different from IE for companies to feel comfortable pushing it to their users without retraining them.
Re: CSS Grid – Table layout is back. Be there and be square
#50I still use plain old tables in 2017. Number of unhappy customers: 0
Except anyone with accessibility requirements, no? As far as I know tables are horrible for anyone with a screen reader. Can you annotate tables somehow to work for accessibility purposes?