Forum Moderators: mack

Message Too Old, No Replies

Tables & Divs

Best way to remember difference & to use

         

Chief Rabbit

3:17 pm on Nov 16, 2006 (gmt 0)

10+ Year Member



I'm having a learner's "mental block" regarding the use of tables and divisions. When do I use a table instead of a division (and vice versa). They seem identical for holding content, only that the division can be styled. Thanks!

varya

5:20 pm on Nov 16, 2006 (gmt 0)

10+ Year Member



Divs are for logically organizing blocks of content/code whether large or small. Examples: left side navigation, main content area, product display area, etc.

Tables are for tabular data. This could be numeric data or something like names of flowers organized by the month in which they bloom.

Chief Rabbit

3:39 pm on Nov 17, 2006 (gmt 0)

10+ Year Member



Thank you, Varya, that makes a lot of sense! I've noted it in my notebook for quick reference. :)

floriniri

6:57 am on Nov 18, 2006 (gmt 0)

10+ Year Member



Hmm, I use tables and they look preety nice, works with css also. Don't use it for tabular datas though.