Name
ALIGN — NN n/a IE 4 HTML n/a
Synopsis
ALIGN=”where"Optional
The ALIGN attribute appears only in Internet
Explorer 4, and its implementation is far from consistent across
operating systems. In theory, the attribute should control the
alignment of INPUT elements it contains. This is
true in the Macintosh version of IE 4, but in the Windows version,
the settings have a minor effect on whether the
FIELDSET element rule is flush left, flush right,
or centered. It is best to let the default setting take precedence.
As a general rule, ALIGN attributes are deprecated
in HTML 4.0 in favor of style sheets. Even though the
ALIGN attribute isn’t supported in HTML 4.0,
you should feel free to use style sheets even for this Internet
Explorer-specific attribute.
Example
<FIELDSET ALIGN="center">...</FIELDSET>
Value
Allowed values are left |
center | right.
Default
left
Object Model Reference
- IE
[window.]document.all.elementID.align
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access