W3C home > Mailing lists > Public > www-style@w3.org > February 2008

[css21] Missing "tr{vertical-align:inherit}" in Appendix D? (default style sheet for HTML)

From: j.j. <moz@jeka.info>
Date: Tue, 26 Feb 2008 19:59:48 +0100
Message-ID: <20080226195948.yy7p06xt448ws8gs@www.hosting-agency.de>
To: www-style@w3.org

HTML table cells are middle aligned. (That's stupid, but...)
Therefore Appendix D contains the following rules:

thead, tbody, tfoot { vertical-align: middle }
td, th              { vertical-align: inherit }

This doesn't make much sense for me without this missing rule:

tr                  { vertical-align: inherit }

WebKit and Gecko have this inside:

There is a related discussion about Opera's behaviour here:

Received on Tuesday, 26 February 2008 19:00:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:01 GMT