Name
LEFT, TOP — NN 4 IE n/a HTML n/a
Synopsis
LEFT=”pixelCount"Optional
TOP=”pixelCount"
Define the positioned offset of the left and top edges of the layer
relative to the spot in the document where the
LAYER element would normally appear in source code
order. This precise location relative to the page varies unless you
also set the PAGEX and PAGEY
attributes, which absolutely position the element in the document
space. Unlike what it does for the ILAYER element,
Navigator does not preserve the space in the document where a
LAYER element appears. The element is placed in
its own plane, and the surrounding source code content is cinched
up—usually overlapping the LAYER content
unless the layer is positioned elsewhere.
Example
<LAYER BGCOLOR="yellow" SRC="instrux.html" WIDTH=200 HEIGHT=300 LEFT=10 TOP=50> </LAYER>
Value
Positive integer values (optionally quoted).
Default
0
Object Model Reference
- NN
[window.]document.layerName.left
[window.]document.layerName.top
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