Previous Message
Next Message

Vertical alignment of text within div

Sent by David Dorward on 21 June 2004 19:07


On Mon, 2004-06-21 at 19:30, Jeff Minard wrote:

> I think there is some kinda of hack for gecko browsers that you can say 
> something like "display: table-cell" and vertical-align will work as 
> expected, but that's only going to work in mozilla(s) (if it works at all.)

Not a hack. Table cells have a different display model and
vertical-align is supposed to work there. AFAIK MSIE is the only browser
which the latest version of supports screen CSS but not that part of it.

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>

______________________________________________________________________
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: