News for hackers. Stuff that matters.
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.