4 ms·
You should have sent at least one email to someone you have never met telling them that they should stop using tables. But I like tables. There's so orga
by araneae 16y ago
You should have sent at least one email
to someone you have never met telling
them that they should stop using tables.
But I like tables. There's so organized. I hate this floating div crap.
- hartror 16y agoMe too but the separation of content and layout is important.
- thetrumanshow 16y agoCan you please explain this or link to something that does? I mean, I've been 'floating divs' and 'clearing both' for a while because someone/some article told me that its better, but tables are so much more predictable. The only reason I ever use floating divs in practice is when I'm worried some designer friend is going to view source on my pages and laugh at all the tables. Also, if I am expected to use floating divs all the time, can someone just link me to a floating div table generator already? :)
- Jasber 16y agoSeparation of layout and content allows you to do things like this: http://www.csszengarden.com http://www.csszengarden.com A few benefits that may be worth the headaches of floating divs: * Redesign your pages without ever touching HTML (mobile/tv version) * Improved SEO by arranging important content up top * (Generally) lighter page sizes because CSS is in external file being cached But I actually use floating divs because I find them easier. Tables are easy too, but after years of hacking on broken CSS--most of the thorns have faded away for me. YMMV. Use what works best.
- jonknee 16y agoI think that used to be more important, but these days when your pages are being generated from templates on the fly it's not much harder to change the template than the CSS.
- isleyaardvark 16y agoI've always thought it's much more important to avoid tables when you're using templates. Using divs allows you to make your website more modular, you don't have to think to yourself "ok, should there be a tr there or another table?" Tables may be easier on the initial setup, but for maintenance they are a pain. And considering the tools we have to make CSS easier (the Blueprint framework, 960grid, etc.), there's no reason to use tables.
- xyzzyb 16y agoUnless you're displaying tabular data. Yes, I've seen sites using divs for genuine table data.
- benologist 16y agoIt's already seperated. One is in the db, one is in a pile of files that will be mostly deleted on the next major update.
- what 16y agoIs someone going to email pg? HN is all tables.
- MarkPilgrim 16y agoPfft. I've sent Dave Winer at least one email telling him to stop using tables. (He didn't.)
- ww520 16y agoPeople probably like table better when writing HTML by hand since table gives a rough mapping between the source and the rendered result, whereas with floating div you really have to imagine what it looks like. With WYSIWYG tools, it's not so much a problem using floating div.
- humblepatience 16y agodont use WYSWIG tools, use firebug.
- humblepatience 16y agoAnd besides, who cares if someone else is using tables? You're not the one that has to maintain them.