Name
ALIGN — NN 4 IE 3 HTML 4
Synopsis
ALIGN=”alignmentConstant"Optional
Determines how the rectangle of the OBJECT 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. Not all attribute values are
valid in browsers prior to the Version 4 releases.
Both browsers follow the same rules on laying out content surrounding
an image whose ALIGN attribute is set, but the
actual results are sometimes difficult to predict when the
surrounding content is complex. A thorough testing of rendering
possibilities with browser windows set to various sizes prevents
surprises later.
Example
<OBJECT ... ALIGN="baseline"></OBJECT>
Value
Case-insensitive constant value. All constant values are available in Navigator 4 and Internet Explorer 4.
Default
bottom
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