newtomysql — 2011-02-17T20:11:37-05:00 — #1
I am creating a side where on the left hand side I have a number text box,combo box etc which makes the form. On the right hand side I have grid which is made from from table tr and td combination. Overall the whole form and data grid is also stored in a big table. So is this a good method or I must use other method. The problem is now I would like to stored anothe datagrid below my existing datagrid. Any advice?
felgall — 2011-02-17T20:24:05-05:00 — #2
If you are displaying tabular data put it in a table. If you are creating separate divisions within your page put them in divs. If the page content is something else then put it in theHTML tags that correctly identify what type of content it is.
You then determine how it is all laid out on the screen using CSS.
system — 2011-02-18T06:45:40-05:00 — #3
Fellgall pretty much hit it on the head -- HTML is for saying what things are NOT how they appear, so if it's tabular data, go ahead and use a table... if it's NOT tabular data then you have no business using a table...
Though we're guessing wildly without actually seeing the page in question.
atsea_webdesign — 2011-02-18T09:50:43-05:00 — #4
Good points here. One thing to add. Make sure you do NOT use nested tables for your data grid.
felgall — 2011-02-18T13:02:13-05:00 — #5
Nested tables almost never make sense because that implies that one of the pieces of data within your tabular data is itself a table of data.