Live data from Hacker News

Ask HN: CSS vs table based layouts

news.ycombinator.com

51–52 of 52 posts

Re: Ask HN: CSS vs table based layouts

#51
post #39

Earlier quoted context omitted.

Sorry but that is an understatement. Creating a three column layout is surprisingly hard and completely counter-intuitive and it gets only harder when you want liquid columns. IE is part of the problem but many of the other browsers also had their own quierks until recently. Creating a n-column layout in CSS, in a sane way, has literally turned into a pseudo-science over the years. That wouldn't be the case if it had…

It really isn't complicated. Float three columns left with a combined width less than that of the container and you have a three column layout.

If you really think that then you have obviously never tried it. Look here for the real solution, which is slightly more involved:

http://matthewjamestaylor.com/blog/perfect-3-column.htm

Re: Ask HN: CSS vs table based layouts

#52
post #10

I'm so glad I'm not the only one that feels this way. As far as I'm concerned, CSS is a miserable piece of work. Witness how hard it is do a simple three column layout. It fails half of the simple edict: Make easy things easy and hard things possible.

It's easy if your mind thinks in CSS but if you still think in tables (a habit that I find surprisingly difficult to undo) then yes, it's a bit of a mess. I'm happy CSS frameworks & their browser resets exist so I can think about more important things.
Post reply on HN