Name

ALIGN — NN n/a IE 4 HTML 4

Synopsis

ALIGN=”alignmentConstant"

Optional

Determines how the rectangle of the SELECT element (particularly when the SIZE attribute is set greater than 1) aligns within the context of surrounding content. See Section 8.1.5 earlier in this chapter for a description of the possibilities defined in both Navigator and Internet Explorer for this attribute.

Example

<SELECT NAME="chapters" MULTIPLE ALIGN="baseline">
...
</SELECT>

Value

Case-insensitive constant value. All constant values are available in Internet Explorer 4.

Default

bottom (IE 4/Windows); absmiddle (IE 4/Macintosh).

Object Model Reference

IE

[window.]document.formName.selectName.align

[window.]document.forms[i].elements[i].align

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.