• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 19. Adding Dynamic HTML > Dynamic Positioning and Layers

Dynamic Positioning and Layers

Up until now, we’ve discussed using CSSP to create divisions of elements that can overlap one another. You saw how you can use the z-index to change the relative position of each layered element, and how individual elements or boxes can be placed at absolute and relative points in the browser window. In this section, we’ll look at how to use this knowledge to work with DHTML layers.

First, it’s worth noting that layers are more of a concept than a particular set of parameters that you need to learn. In the previous section, you saw layers of elements that could be absolutely positioned. In CSSP, that’s really the extent of what a layer is. The term is commonly used, however, when you’re specifically using the <div> element to create each layer, and more to the point, when you use scripting to make the positioning of those layers dynamic in some way.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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