HyperText Markup Language/Layers

From Wikibooks, open books for an open world
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Layers are not a part of HTML 4.01 or XHTML. They were a proprietary element created by Netscape. You can achieve the same effect using CSS's z-index property.

Confusingly, Dreamweaver has a layers feature which is functionally similar but is based on div elements styled with CSS and optionally animated with Javascript.