What according to you is more better and easy, code using div layouts or tables layouts for designing. Please share your opinion...
DIV ofcourse.. but now a days professionals dont use even that... but div is far far better than tables..
i think so . Generally better to use div : code will shorter Your Website will load faster Seo is better In some cases, if the div code complex and lengthy than feel you should use table
Tables should be used only for the display of tabular data not for the layout of pages. The way I work is div for page structure and where applicable tables within those divs to hold tabular data such as price lists. There's heaps of threads on here about tables vs div.
A lot of the divs I see on websites are even more messy than the tables they were supposed to replace.
The guy who first thought of using tables for layout wrote that his idea ruined the web and he regretted the very thought. That was in 1998 and here we still have people 13 years later who still haven't gotten that message. We just don't ask this question anymore. Unfortunately, this thread will continue for another six months, or maybe even years. Just watch the next few posts.
I wouldn't use DIV. I use tables for my site. I tried using DIVs, and it only messed up my site, things wouldn't display right. It's up to you though, it depends more on the site, and the Css you are using, if any. I'd use Div/layers for things inside my body, not for the body/layout itself. Maybe I worded that wrong...
Better you use DIv coz its easy to manage your layout while your site running. If you are a perfect XHTML/CSS coder so you can easily make some changes (like color, menu, background images .. etc) through updating CSS file only. For the table you will have to see both code table code & your CSS file code..
right drhowarddrfine, I'm sure, this will go for next decade as well unless W3C eliminates tables or may be thereafter as there will be people in dilemma between old transistor and HD television.
I am much happier programming my layouts in CSS with divs... Tables made making changes a living hell for me. Divs are cleaner, easier to manage, abstracts information from layout, keeps file sizes down. There really is no perceivable downside as far as I can see.
hm.. both ways are ok some designs can not be made without tables, i think ... i 'll search for some examples
@radiant_luv, I think most of these people just read the first post and respond to that one. There's another thread going elsewhere for 2 1/2 years with the same repeating answers.