Name
LEFT, TOP — NN 4 IE n/a HTML n/a
Synopsis
LEFT=”pixelCount"TOP=”pixelCount"Optional
Define the positioned offset of the left and top edges of the layer
relative to the spot in the document where the
ILAYER element would normally appear. This precise
location relative to the page varies because an
ILAYER element is an inline layer, which means
that it can start anywhere within normally flowing HTML content. When
you set either of these attributes, Navigator preserves the space in
the document where the ILAYER element appears,
rather than cinch up surrounding content to fill space vacated by the
element that has shifted its location. You are therefore likely to
set these attributes for an ILAYER only when
attempting to accomplish a look tailored to very customized content
(perhaps an ILAYER amid inflow images).
Example
<ILAYER BGCOLOR="yellow" LEFT=10 TOP=50></ILAYER>
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