Which one is better div or table ?

Author: admin  /  Category: Uncategorized

So here is a video where divs explained in various styles:

It’s not a question of whether one is better than the other. The question is which one is better for what you want to do. Some designers like to use DIVs with style sheets and others like to use tables for the layout of a site. You can even use them together. I think more experienced designers prefer DIVs as it gives you more control and less restrictions than a simple table. If you do use tables.. Just don’t nest 5 layers of them.

DIVs are meant to be used for layout, Tables are not.
Those are unable to build layouts using DIV, go for table layout and that shows their lack of capabilities in building layouts. Div is better than table. table base design have problem to placing content at the pinpoint position what need. But using div any content item can be place any where of browser window .

divs, tables are really bad. Very archaic compared to the freedom of divs.

I saw someone mention they can’t do divs, these are important and tables are used less and less - videos for you at the end. They got popular when people saw them as a cool way to set up a layout. Basically, before you used divs, tables were all you had. Now you can float and justify divs, build tables that can be dynamically moved round
site wide without effecting to others or re-coding everything.

Picture a div as an object. It’s actually what it is. You take that div and you can stack them (in fact, they naturally stack) but you can also put them side by side or completely in a different area, all with just edits to your CSS.

Tables on the other hand must always follow rules of columns and rows. I mean, I bet you can like, lay out single-cells at a time and maybe style them (?) but I don’t know as it’d be kinda dumb to try when I’ve got divs, you know? Divs also give us layers.

Tags: , , , , , , , ,

Leave a Reply