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

Re: CSS 2: Table Cells and the "line-height" Property

From: Eric Meyer <emeyer@theopalgroup.com>
Date: Tue, 3 Apr 2001 15:24:02 -0400
Message-Id: <v04220805b6efd136cbf3@[207.206.34.28]>
To: www-style@w3.org
>   >     So: how about asking implementors to include a UA style which
>   > states something along the lines of:
>   >
>   >     td > img, th > img {vertical-align: bottom;}
>   >
>   > Would that be terribly inappropriate?
>
>Perhaps not inappropriate, but insufficient.
>
>What happens when you have two or more images in a table cell?
>
>It appears to work then.
>
>However, add a single character of text in between the images.
>
>Now the flaw is revealed, and you have images bottom aligning with the text
>on the line, which is not what occurs in traditional HTML presentation.

    Admittedly true, although personally I never liked the 
"baseline-bottom" rule and so this wouldn't bother me.  Still, we 
won't capture legacy rendering by following my personal preferences. 
Sigh-- my straw man lasted only a few hours, but I suppose that's the 
fate of most straw men.
    I guess we're back to twisting 'normal' all out of whack for this 
one case.  Bleah.  As crufty and inelegant as that solution may seem, 
I don't see a way around it which doesn't involve mangling the inline 
formatting model.

--
Eric Meyer
Internet Applications Manager          e-mail: emeyer@theopalgroup.com
The OPAL Group / Technical Services     voice: (216) 986-0710 ext. 21
  http://www.theopalgroup.com/             fax: (216) 986-0714
Received on Tuesday, 3 April 2001 15:29:08 GMT

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