- 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
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. http://hiveminds.w1.factorsofi.com/phpBB/viewtopic.php?p=23954#23954 If you must have it, you should probably leave the table as-is. If you really want to use CSS, use the solutions here: http://www.wpdfd.com/editorial/wpd0103.htm#toptip 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> </table> > -----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 http://hiveminds.info/ http://soopahman.com/
Received on Tuesday, 28 October 2003 17:40:47 UTC