W3C home > Mailing lists > Public > www-validator@w3.org > June 2005

Re: there is no attribute "HEIGHT"

From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Wed, 08 Jun 2005 02:24:31 +0200
To: www-validator@w3.org
Message-ID: <42A63ABF.6E06@xyzzy.claranet.de>

Fred Marka wrote:
 
> I have not found any alternative solution to make a table
> vertically centred.  Do you have any idea?

I'd drop the plan to "vertically centre" a table.  And I'd use
<div align="center><table>...</table></div> instead of your
width="100%" trick.  

One HTML 4 source claims that <center>...</center> is better
supported, but my stoneage browser also likes the <div> trick.

It has however sometimes problems with 100% - I use 95% where
that's good enough.  Seriously, "vertically centred" makes no
sense, unless you're trying to zoom pictures to the (unknown)
window size of the browser.
                            Bye, Frank
Received on Wednesday, 8 June 2005 00:27:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:19 GMT