Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


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

3 Manipulating Objects > Plug-in 13: Location

PLUG-IN 13: Location

The classes in plug-in group 13 offer a variety of absolute and relative positioning functions. For example, in Figure 3-13 the totop, tobottom, toleft, and toright classes have been used to place four images in the corners of their containing object.

Classes and Properties
image
image
image

FIGURE 3-13 Moving images to the four corners of their containing object

About the Classes

These classes access the top, bottom, left, and right properties of an object to either place it in an absolute position or move it by a relative amount. The _h suffix of the class names is supported to apply the change only when an object is hovered over, while the other suffixes are not supported, since it is unlikely they would ever be used.

Some of the CSS rules used are similar to the following examples:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial