Do I understand that DIVs should be used instead of TABLES for data layout?

advertisements

Is this correct and if so, where can I find a good resource to know how to do it, because, all the pages I've seen uses absolute position and things like that. Is this the correct way to go?

EDIT

So my question is , how to put two elements side by side, how one on top of other etc. Is it using absolute position?

For instance this page uses very little table and layout everything in using DIV.


Is this correct

Not quite. You should use the elements that best describe the semantics of the data, then use CSS to lay them out.

where can I find a good resource to know how to do it

See section 38 of the WSC: Headers, footers, columns, and templates. Possibly preceded by the earlier sections.