W3C home > Mailing lists > Public > www-style@w3.org > October 2003

RE: Table HEIGHT attribute

From: Chris Moschini <cmoschini@myrealbox.com>
Date: Tue, 28 Oct 2003 17:40:46 -0500
To: www-html-editor@w3.org
Cc: www-style@w3.org
Message-ID: <1067380846.6350a880cmoschini@myrealbox.com>

This doesn't really answer the original question, as simply replacing the height attribute with CSS
height: 100%; will only help in browser "Quirks" modes.

Unfortunately Greg vertical centering is hell with CSS. A discussion of the problems involved is here.


If you must have it, you should probably leave the table as-is. If you really want to use CSS, use the
solutions here:


Some discussion of resolving this was brought up a while back on www-style, but I believe it died
without resolution.

-----Original Message-----
From: "BIGELOW,JIM (HP-Boise,ex1)" <jim.bigelow@hp.com>

The css height property is preferred of the height attribute.  For example:

<table  style="height: 5in">
<tr><td> cell 1</td></tr>

> -----Original Message-----
> From: www-html-editor-request@w3.org 
> [mailto:www-html-editor-request@w3.org] On Behalf Of Gregory Baboolal
> To: www-html-editor@w3.org
> Hi there,
> I have recently been wanting to 'try' and refine a html 
> document to conform to W3C's Recommendations. However in my 
> effort to do so I have found that the TABLE HEIGHT attribute 
> is an invalid specification or a rather deprecated as of some 
> HTML version (3?).
> That might be all well and good but what is the alternative 
> solution if for example one wanted to center an image in the 
> middle of page? Having
> (moderately) searched the W3C site I cannot find anything 
> that justifies this back-step or deprecation. In my 
> experience when one specifies a deprecated element they are 
> also given notification of the 'to be' accepted alternative.

-Chris "SoopahMan" Moschini
Received on Tuesday, 28 October 2003 17:40:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:09 UTC