Name

VALIGN — NN n/a IE 3 HTML n/a

Synopsis

VALIGN=”where"

Optional

The VALIGN attribute was Internet Explorer’s early attribute for placing a table caption above or below the table. Although this attribute is now a part of the ALIGN attribute, IE’s special way of handling left, center, and right values of the ALIGN attribute give VALIGN something to do. For example, you can use VALIGN to set the caption below the table, and use ALIGN="right" to right-align the caption at the bottom. This combination is not possible with the HTML 4.0 attribute. The VALIGN attribute is in IE 4 for backward compatibility, if for no other reason.

Example

<CAPTION ALIGN="right" VALIGN="bottom">Table 3-2. Fiber Content.</CAPTION>

Value

Two possible case-insensitive values: bottom | top.

Default

top

Object Model Reference

IE

[window.]document.all.elementID.valign

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.