Previous Message
Next Message

Mozilla display: table-cell problem

Sent by Bruno Fassino on 15 July 2004 18:06


Zoe M. Gillenwater wrote:
(about http://www.hsrc.unc.edu/ghsp/draft4.htm)

> ... appears to be a vertical-align issue.  Adding
> vertical-align: top to #inputcontainer fixes it.
>
> Still don't understand what was going on though -- it was obviously not
> aligning to the middle, and without the image in the other "cell" it had
> no problem aligning to the top.

The vertical-align value was probably "baseline", which may explain why the
aligment in one cell depended on the other cells contents. Indeed it is
based on the "row baseline"
<http://www.w3.org/TR/CSS21/tables.html#height-layout>, which may be
affected by all the cells in the same row.
If Mozilla and Opera were different one of the two is wrong, but I haven't
tried to understand which...

Bruno

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: