W3C home > Mailing lists > Public > www-style@w3.org > June 2001

Re: table caption margin

From: fantasai <fantasai@escape.com>
Date: Mon, 11 Jun 2001 17:03:56 -0400
Message-ID: <3B25323C.76BA3B60@escape.com>
To: www-style@w3.org
bernd.mielke@snafu.de wrote:
> Hi,
> how would the following html align="center" attribute
> translate into css?
> One of them is probably wrong, but why?

I believe the second one (where the caption is not directly
affected) is correct. First of all, it's set on the table and
not the caption. Also, note the behavior of 'align' when set to 
left or right: it typically floats the entire table to either
side, but the caption is not affected.

The HTML spec says only that 'align' positions the table left, 
right, or center; the caption is not mentioned.

I tested Netscape 4, MSIE 5, Opera 3.6, and Amaya 3.2.1.
The 'align' attribute does not affect the caption in any of them.
Received on Monday, 11 June 2001 17:02:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:58 UTC