• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

12.1. Creating Layers

A layer is a rectangular container that holds other page material—images, text, form elements, and even other layers. In this regard, it acts like a table cell (page 144). And as with a cell, you can define a layer's width and height and give it a background color or image.

But that's where the similarities end. What really sets a layer apart from other page elements is the way you can give it an exact position on a page. Want an image to appear exactly 100 pixels from the top edge of the browser window and 200 pixels from the left? Add a layer at that spot and insert an image in the layer—no jury-rigged table scaffolding required.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint