Name

align — NN n/a IE 4 DOM n/a

Synopsis

Read/Write

Defines the alignment of the element within its surrounding container. See Section 8.1.5 at the beginning of Chapter 8 for the various meanings that different values bring to this property.

Example

document.all.myApplet.align = "center"

Value

Any of the alignment constants: absbottom | absmiddle | baseline | bottom | left | middle | right | texttop | top.

Default

bottom

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.