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

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.