You are here: Re: Article putting forward a case for table layout « HTML « IT news, forums, messages
Re: Article putting forward a case for table layout

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация