What according to you is more better and easy, code using div layouts or tables layouts for designing. Please share your opinion...
using div is best practice and also easy... You should only use tables when you have any comparison table to be create or similar one...
Always use DIV's comparing to tables because website created using DIV's loads faster than website created using tables. Mangesh
Best practices state that you should use DIVs instead of tables, though most people start out coding with tables. Working with DIVs can be tricky sometimes, but so can tables, but DIVs are more flexible than tables as you don't have a parent element around the DIV. Another problem with tables is the extra lines and size it puts in the file, for every <tr><td></td></tr>, you could just use a <div></div>.
well, based on personal experience, if you would ask this question to 10 people, 9 of them would choose DIVs. using divs give you cleaner code (just div tag plus class), while using tables force you to use <table>, <tr>, and <td> tags. And less code means fast loading pages. Also divs give you one more advantage over tables as when you use divs you use CSS. so assume you wanna change the font, or color, of the whole page, you would need to change only one line in CSS, while in tables you would need to do so several times. generally, use the newest method.
More useful information about DIVs vs TABLEs can be found here. Also check this article which has been around for exactly seven years now
Useing divs makes your code much more cleaner. Tables should be used only when you want to display some aggregated data, for example calculation results etc.
Great!! We just had a thread like this a month or more ago which was identifical to another one we had a year or more or ago which was identical to thousands of other threads you could have found through Google! Thank you thank you thank you for starting another one!!!!!!!!
It will never end. Dudes like you and "me" who know everything will retire some day, while newbies will continue to know on the door, how do you know this isn't just another 11 year old son trying to figure out what "source code" is Can't blame them, althought it would certainly be nice if we all learned to do a simple search before asking. There aren't too many unanswered questions left on Google, and this particular one is not among them. webmaster11, it's called "tableless design".
Div is more easier than using tables in web designing. Div provide a central command through CSS to change layout of every page on the other hand its really tough to deal with tables. Dive based website designs are more SEO friendly than table too.
DIV is state-of-the-art. Use DIV instead of tables and you won´t get in trouble in future tasks. I worked a long time w/ tables, but current CMS must often be built with DIV, if you want a flexible layout and a working CMS.
I started out using tables and forced myself to start using DIVs. It is best practice and should lead to a much cleaner, faster, SEO friendly solution. No harm to do a little work on tables because more then likely you will come across them especially if you are working with older sites.
I know that tabs are old things, but for me it is easier and faster to arrange web-site layout. Especially if you are a novice in web-design, so it will be a bit hard to code using Divs...