3 ms·
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
by thetrumanshow 16y ago
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? :)
- 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.