# class HTMLLayerElement

###

Module | khtml
Namespace | DOM
Class | HTMLLayerElement
Inherits | DOM::HTMLElement

Layer container for Netscape 4.x compatability. Behaves mostly like absolute positioned DIV-blocks.

### methods

- HTMLLayerElement ( )

  returns ctor

- HTMLLayerElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.HTMLLayerElement |

- HTMLLayerElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- HTMLLayerElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLLayerElementImpl |

- bgColor ( )

  returns DOM.DOMString

  The background color of the layer.

- layers ( )

  returns DOM.HTMLCollection

  The collection of sub-layers

- left ( )

  returns long

  The absolute position of the layer from the left.

- setBgColor (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see bgColor

- setLeft (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see left

- setTop (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see top

- setVisibility (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see visibility

- top ( )

  returns long

  The absolute position of the layer from the top.

- visibility ( )

  returns DOM.DOMString

  The visibility of layers is either "show" or "hide"