On Sunday 02 July 2006 20:56, Siddhesh Poyarekar wrote:
This is something I never explored. I always went with the assumption that tables were the best way to lay out my page (as is evident from my site). I just gave a try to using divs and I get your point; the code looks much cleaner. The nested tables are a nightmare in comparison.
I guess the main reason is that I (and probably many amateur webdevs) learn HTML from "24 hours" primer tutorials, which show tables as the way to lay out pages. My bad for not having looked deeper. Never too late eh :)
No most webdevs arent aware of the fact that DIVs exist. Those who are aware, like me, and use them know how big deal is it to make them work in all browser. If you're using DIVs then you need to FIRST include the clearfix hack for Mozilla. Google for clearfix and you'll know what I am talking about. IE has several bugs with floating DIVs. Its just a headache...