Ask HN: Why are images used to indent comments?
Why are images used to indent comments? Why not use lists to create the tree structure? Wouldn't lists make it easier, for those using screenreaders, to understand the conversation structure?
Pic: http://tinypic.com/r/6i9ml3/3
21 comments
[ 822 ms ] story [ 849 ms ] threadAll the threads live in nice tables and gifs are the appropriate technology to accompany them! Enough to give any CSS or SEO evangelist apoplyxia!
Tables can still be useful when holding short content that has lots of columns.
Still, using tables for any kind of formatting looks just plain bad. If you're lazy there are CSS frameworks.
Unless there is a reason for the tables, they're not semantic, it's ugly, and it doesn't make any sense! And it's slower to render.
CSS is more "complex" only if you lack understanding how it works. Main reason that Ruby on Rails was (is?) such a success is that proper MVC (MTV) design pattern implementation made things simpler.
Yet, for average PHP programmer that'd be more "complex". Same with (X)HTML + CSS. It looks more complex only if you don't understand CSS or using WYSIWYG tools.
Not snark – you have to justify throwing out your table + spacer.gif knowledge to learn how to do things with div + css. Maybe he doesn't see a huge benefit.
Also (http://www.paulgraham.com/arc0.html):
Arc embodies a similarly unPC attitude to HTML. The predefined libraries just do everything with tables. Why? Because Arc is tuned for exploratory programming, and the W3C-approved way of doing things represents the opposite spirit.
...
Tables are the lists of html. The W3C doesn't like you to use tables to do more than display tabular data because then it's unclear what a table cell means. But this sort of ambiguity is not always an error. It might be an accurate reflection of the programmer's state of mind. In exploratory programming, the programmer is by definition unsure what the program represents.
Once you know your tools you can do wonders you'll be amazed at how easy it was.
I bet a hundred CSS experts here can give you some interesting ways on redesigning comments.
Show us your best.
Time to run a "Redesign HN in HTML5" contest,
Reward: a standing ovation, and an iPhone.
I bet code size decreases while readability increases.