News for hackers. Stuff that matters.
Re:Ze Frank is hiring for a new startup by araneae on Monday August 02, 2010 @09:27AM (#1567569)

  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.
Re:Ze Frank is hiring for a new startup by what on Monday August 02, 2010 @09:57AM (#1567648)
Is someone going to email pg? HN is all tables.
Re:Ze Frank is hiring for a new startup by MarkPilgrim on Monday August 02, 2010 @10:41AM (#1567742)
Pfft. I've sent Dave Winer at least one email telling him to stop using tables.

(He didn't.)

Re:Ze Frank is hiring for a new startup by hartror on Monday August 02, 2010 @09:29AM (#1567571)
Me too but the separation of content and layout is important.
Re:Ze Frank is hiring for a new startup by thetrumanshow on Monday August 02, 2010 @09:51AM (#1567633)
Can 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? :)

Re:Ze Frank is hiring for a new startup by Jasber on Monday August 02, 2010 @01:33PM (#1568309)
Separation of layout and content allows you to do things like this: 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.

Re:Ze Frank is hiring for a new startup by benologist on Monday August 02, 2010 @12:42PM (#1568113)
It'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.
Re:Ze Frank is hiring for a new startup by jonknee on Monday August 02, 2010 @10:27AM (#1567709)
I 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.
Re:Ze Frank is hiring for a new startup by isleyaardvark on Monday August 02, 2010 @10:49AM (#1567761)
I'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.

Re:Ze Frank is hiring for a new startup by xyzzyb on Monday August 02, 2010 @11:00AM (#1567788)
Unless you're displaying tabular data. Yes, I've seen sites using divs for genuine table data.
Re:Ze Frank is hiring for a new startup by ww520 on Monday August 02, 2010 @11:20AM (#1567855)
People 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.