# ilayer

Defines a layer that is positioned within the flow of the document, rather than absolutely.

## Platform Support

IE | Netscape | Mozilla | Opera | Safari
--- | --- | --- | --- | ---
no | 4.0-4.8 | no | no | no

## Example

This example displays two short text paragraphs with an ilayer between them:

    <p>This is my first paragraph.</p>
    <ilayer name="dogLayer">
    	<img source="dog.jpg" height="100px" width="100px" />
    </ilayer>
    <p>This is my second paragraph.</p>

## Remarks

Deprecated. Early Netscape only. Use a div element instead of an ilayer.

## Attribute Detail

Attribute | IE | Netscape | Mozilla | Opera | Safari
--- | --- | --- | --- | --- | ---
above [layer-name] Name of the layer above the element. | no | 4.0 | no | no | no
background [url]. Example values: "../images/blue-background.gif", etc. Specifies the URL for the background image for the document or element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
below [layer-name] Name of the layer below the element. | no | 4.0+ | no | no | no
class [class-name]. Example values: header-class, list-element, etc. CSS class assigned to the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
clip [top-left-x, top-left-y, bottom-left-x, bottom-left-y] Specifies x,y coordinates of the upper left and lower right corners of the element. | no | 4.0+ | no | no | no
height [number-of-pixels] Height of the element (in pixels). | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
id [element-id] Unique identifier for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
left [number-of-pixels] Number of pixels that the element is offset from the left. | no | 4.0+ | no | no | no
name [element-name] Unique name identifier for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
pagex [x-position-in-pixels] Horizontal position of the element in the browser window. | no | 4.0+ | no | no | 1.0+
pagey [y-position-in-pixels] Vertical position of the element in the browser window. | no | 4.0+ | no | no | 1.0+
src [url] URL for the source for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
style [style-name] Inline style for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
top [number-of-pixels] Number of pixels that the element is offset from the top. | 4.0+ | no | no | no | 1.0+
visibility Specifies whether the element is hidden or shown. | no | 4.0+ | no | no | no
width [number-of-pixels | percentage]. Example values: 200px, 15%, etc. Width of the element (pixels or percentage). | 2.0+ | 1.1+ | 1.0+ | 4.0+ | 1.0+
z-index [number] Positive integer specifying where an element is stacked in relation to other layers. | no | 4.0+ | no | no | 1.0+

text_html aptana_docs