|
Posted by John Dunlop on 11/01/06 15:26
Ben C:
> It looks just the same as if I use semantic markup and display:
> table-cell and remove the CSS.
Looks should have nothing to do with what markup some data is marked
up with. If the data is tabular in nature, mark it up as a table; if
the data is not tabular in nature, mark it up as something else. To
tell if data is tabular in nature, consider the relationship between
the would-be cells.
Tables in HTML were not designed for *laying out* data in a
presentational sense, but rather for *arranging* data in a structural
sense. For example, columns and rows needn't have any spatial
properties, since they can still have meaning for non-visual
user-agents.
> But I do think table layout is the best thing for grids, and that that
> form example is basically a grid.
If we assume 'grid' more so than 'table' implies spatial properties,
that is a presentational issue, best relegated to stylesheets.
A collection of form inputs and their labels is, structurally, a
table, no matter how you expect the form to be rendered.
--
Jock
Navigation:
[Reply to this message]
|