Name
<LAYER> — NN 4 IE n/a HTML n/a
Synopsis
<LAYER>...</LAYER>
End Tag: Required
A LAYER
element is a positionable element in Navigator’s object model
(e.g., like a block-level element whose CSS
position: attribute is set to absolute). As a
result, many of the attributes are named according to the Navigator
way of positioning, sizing, and stacking positionable elements. It is
unlikely that the LAYER or the related
ILAYER elements will be adopted by the W3C, so you
are encouraged to use CSS-Positioning syntax (which works on both
browser platforms) instead.
Content for a LAYER element can be read from a
separate file (with the SRC attribute) or wired
into the current document by placing the HTML between the start and
end tags. You can include both types of content in the same
LAYER element. Content from the
SRC document is rendered first (as its own
block-level element), with additional content starting on its own
line below the external content’s rectangle.
A LAYER element can be positioned anywhere within
a document and can overlap content belonging to other layers
(including the base document layer). Under link or script control,
content for an individual layer can be changed without having to
reload the other content on the page. Moreover,
LAYER elements may be nested inside one another.
See Chapter 5, for more details.
Example
<LAYER BGCOLOR="yellow" SRC="instrux.html" WIDTH=200 HEIGHT=300></LAYER>
Object Model Reference
- NN
[window.]document.layerName
Attributes
|
|
|
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