[thelist] css for valign?
pandion
pandion at gmx.net
Fri Dec 14 15:17:47 CST 2001
David Fields wrote:
>In a two-column layout I'm working on, I need (ok, I'd like) to align
>text to the top of both table cells without dropping valign="top" in the
>html.
<snip>
>I haven't found a css specifier to do this yet. The "vertical-align:"
>text property is only concerned with text alignment relative to other
>inline elements, not placement within a block element. And none of the
>block elements appear to have any control over vertical alignment of
>content within their borders.
Hello,
I haven't tried this, but it seems like vertical-align may apply after all.
Check this page:
http://www.w3.org/TR/REC-CSS2/tables.html#height-layout
Hope it works!
pandy
More information about the thelist
mailing list