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

Chapter 19. Adding Dynamic HTML > CSS Positioning and Layers

CSS Positioning and Layers

The most cross-compatible DHTML technology is CSS Positioning, which is an extension of the CSS style script standard that enables you to be very specific about the position of elements on your page. As long as everything is stable, your pages will look very similar in IE, Netscape 4, and Netscape 6.

When you decide to move an element or change its position, however, you find yourself in a different situation. Each browser has a slightly different DOM implementation, meaning you need to access the CSSP elements slightly differently. Adding more confusion is Netscape 4, where it’s easier to dynamically alter items on the page if they’re formatted using two elements that Netscape created, the <layer> and <ilayer> elements. These elements enable you to place content on top of other content, set the visibility of the layers, and hide and show content dynamically.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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