Name

<layer>

Synopsis

<layer> ... </layer>

Define a layer.

Attributes

above =name

Place this layer above the named layer.

background =url

Specify a background image for the layer.

below =name

Place this layer below the named layer.

bgcolor =color

Specify the background color for the layer.

class =name

Specify a style class controlling the appearance of this tag.

clip =edge

Define the layer’s clipping region, in pixels. If left and top are 0, they may be omitted.

left =n

Define, in pixels, the position of the layer’s left edge from the containing line of text.

name =name

Provide a name for the layer.

src =url

Supply the content of the layer from another document.

style =style

Specify an inline style for this tag.

top =n

Define, in pixels, the position of the layer’s top edge from the containing line of text.

visibility =value

Determine whether to show the layer, hide the layer, or inherit the visibility attribute from a containing layer.

width =n

Define the width, in pixels, of the layer.

z-index =n

Specify the layer’s position in the stacking order.

Get Webmaster in a Nutshell, Third Edition 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.