Re: VALIGN Equivalent?

Andrew n marshall wrote:
>Have I overlooked an equivalent to the VALIGN property found in HTML tables
>and table cells?

Not in the CSS1 spec. There's a CSS2 proposal at
<> that applies the
vertical-align property to block-type elements. I've suggested a similar
'vertical-position' property for block element content.

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

David Perrell

Received on Wednesday, 26 November 1997 20:31:34 UTC