HTML and CSS Reference
In-Depth Information
• Each <label> must not contain more than one form field.
• The label element should not be nested.
<layer> (Positioned Layer)
This Netscape 4. x -specific element allows the definition of overlapping content layers that can
be exactly positioned, hidden or shown, rendered transparent or opaque, reordered front to
back, and nested. The functionality of layers is available using CSS positioning facilities, and
the layer element is listed here purely for historical reasons in case developers come across
pages using them.
Syntax (Defined by Netscape 4 Only)
above="layer name"
background="URL of background image"
below="layer name"
bgcolor="color value"
class="class name(s)"
clip="clip region coordinates in x1, y1, x2, y2 form"
height="percentage | pixels"
id="unique alphanumeric identifier"
overflow="none | clip"
pagex="horizontal pixel position of layer"
pagey="vertical pixel position of layer"
src="URL of layer's contents"
style="style information"
title="advisory text"
visibility="hide | inherit | show"
width="percentage | pixels"
Element-Specific Attributes
above This attribute contains the name of the layer (as set with the name attribute) to be
rendered directly above the current layer.
background This attribute contains the URL of a background pattern for the layer. Like
backgrounds for the document as a whole, the image might tile.
below This attribute specifies the name of the layer to be rendered below the current layer.
bgcolor This attribute specifies a layer's background color. The attribute's value can be
either a named color, such as red , or a color specified in the hexadecimal #RRGGBB format,
such as #FF0000 .
Search WWH ::

Custom Search