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
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.