W3C home > Mailing lists > Public > www-style@w3.org > November 1997

RE: VALIGN Equivalent?

From: Andrew n marshall <amarshal@usc.edu>
Date: Sun, 30 Nov 1997 06:47:13 -0800
Message-ID: <01BCFD5B.ECA85F80.amarshal@usc.edu>
To: "'David Perrell'" <davidp@earthlink.net>, "www-style@w3.org" <www-style@w3.org>
On Wednesday, November 26, 1997 2:20 PM, David Perrell 
[SMTP:davidp@earthlink.net] wrote:
> Not in the CSS1 spec. There's a CSS2 proposal at
> <http://www.w3.org/TR/WD-CSS2/tables.html#h-17.6> that applies the
> vertical-align property to block-type elements. I've suggested a similar
> 'vertical-position' property for block element content.

Still this only aligns the box, not the contents within the box.

> Another possibility is to allow the 'auto' value for the padding 
> In your divframes page, for example, setting padding-top and 
> of #sidebar to 'auto' would vertically-center the content in the panel. 
> this is not a substitute for VALIGN.

I checked this, and there is no 'auto' value for <padding-width>.

If there was one that divided space between opposite paddings (top & 
bottom, right & left), then I would be happy enough.  Until then, I am 
still trying to vertically center content in a box.

Andrew n marshall
  student - artist - programmer
      "Everyone a mentor,  Everyone a pupil"
Received on Sunday, 30 November 1997 09:43:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:45 UTC