Name

ALIGN — NN n/a IE 4 HTML n/a

Synopsis

ALIGN=”alignmentConstant"

Optional

Determines how the rectangle of the element 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. Despite Microsoft’s advertised extensive support for this attribute, only some values work on Internet Explorer 4 for the Macintosh; none work on the Windows version. Use style sheets to position this element if you need to. Default alignment also varies with operating system.

Object Model Reference

IE

[window.]document.formName.elementName.align

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

[window.]document.all.elementID.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.