You are here: Re: Why CSS tables? « HTML « IT news, forums, messages
Re: Why CSS tables?

Posted by Barbara de Zoete on 05/28/05 08:19

On 27 May 2005 20:08:13 -0700, <dmcconkey@yahoo.com> wrote:

> In reading the thread "Column width in a CSS table", I realized there
> was much confusion over CSS tables--rather the CSS display:table family
> of CSS properties. I then wondered if I might have it all wrong...

[ tables for tabular data; no tabular data no table. No? ]

> Why then do CSS tables exist? Why would I want to emulate HTML table
> tags using CSS display properties?
>
> Have I missed the boat entirely? Am I now as confused as I was in 1998?
>

I wouldn't know about your confusion, but in
<http://www.w3.org/TR/CSS2/tables.html> it says:

<quote>
The CSS model does not require that the document language
include elements that correspond to each of these components.
For document languages (such as XML applications) that do not
have pre-defined table elements, authors must map document
language elements to table elements; this is done with the
'display' property.
</quote>

and

<quote>
17.2.1 Anonymous table objects
Document languages other than HTML may not contain all the
elements in the CSS2 table model. In these cases, the "missing"
elements must be assumed in order for the table model to work.
</quote>

So, CSS tables are especially useful for use with document languages other than
HTML, like XML, that do _not_ have elements necessary for creating data tables.

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'

 

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

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