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

Chapter 16. Visual Formatting and Detail... > Positioning Properties: position, to...

16.2. Positioning Properties: position, top, left, right and bottom

One of the long standing concerns in Web-page design is the positioning of elements on a Web page. How many times have you wanted to add some image or text to a specific point on a Web page and found that this seemingly simple task tried your patience? Over time, people have attempted such tricks as transparent images, indented unordered list tags and maddeningly intricate sets of tables in order to get something exactly where they wanted it to be.

The set of positioning properties — consisting of position, top, left, right and bottom — were among the earliest of the post-CSS1 properties to be suggested, and in terms of browser compatibility, among the first group of CSS2 properties to be adopted within the major browsers. Collectively, these properties are part of a new sub-set of properties known as CSS positioning properties, often called “CSS-P” for short. Using them, you can state exactly where you want a Web element to appear on-screen.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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