Skip to content

Comment on Ask HN: Why are images used to indent comments?

Comments

I assume they are using single pixel gifs and playing with the width to indent. That is old school, the way it was done before css. Maybe they just never quit. I still prefer to use tables to structure some types of content, it won't win me any awards from the css crowd but it's just easier. Why make life difficult?

Because rendering a table is almost always slower. Granted, this is an old benchmark (don't have time to pull up any that are more recent), but: http://www.howtocreate.co.uk/browserSpeed.html

Sometimes a small rendering performance hit is worth avoiding the development headache of getting multi-column divs to display properly across browsers.

Tables can still be useful when holding short content that has lots of columns.

In the world without Internet Explorer all you need is CSS3 column-count: N; property.

Still, using tables for any kind of formatting looks just plain bad. If you're lazy there are CSS frameworks.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.