Adding a Layer

Layers are containers that you'll use to position content on the Web page. The term “layers” is a Dreamweaver term, and if you speak with other Web developers who aren't using Dreamweaver (what's wrong with them?!), they won't know what you mean. Those who haven't been initiated into the wonders of Dreamweaver may call layers “divs,” referring to the tag that is used to implement layers.

Layers have two very interesting attributes:

  • Visibility— This property enables you to hide all of the content in a layer and then trigger its appearance when the user performs an action on the screen. For instance, you can simulate a click on a menu in a software program. The layer holding the menu image is initially hidden. The user clicks the ...

Get Sams Teach Yourself Macromedia® Dreamweaver® MX in 24 Hours 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.