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

Chapter 8. Positioning Controls > Setting the Positioning Type

Setting the Positioning Type

When you set the attributes of an HTML tag through a selector in a CSS, you, in effect, single out any content within that tag's container as being a unique element in the window (see "Understanding the Element's Box" in Chapter 7). You can then manipulate this unique element through CSS positioning.

An element can have one of four position values—static, relative, absolute, or fixed—although only the first three are commonly available on most browsers (Code 8.1). The position type tells the browser how to treat the element when placing it in the window (Figure 8.2).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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