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

Chapter 8. Positioning Controls

A lot of people complain that the Web is too slow; the joke is that WWW stands for World Wide Wait. Part of the problem is that to construct an attractive Web page, designers often use graphics simply to create text that shows up where the designer wants it.

Another design issue that affects the efficiency of page display is the use of tables to position elements in the browser window or to assemble graphics in jigsaw fashion. Tables take more time to render than content that does not use tables for formatting. The more tables you use, the slower your page displays.

Positioning elements with CSS is more accurate than either graphics or tables, and the results are displayed much faster.

You have already learned how CSS gives you control of composition in terms of creating margins and borders (Chapter 7). Beyond that, CSS allows you to position elements in the window either exactly where you want them (absolutely) or in relation to other elements in the window (relatively).

This chapter introduces you to the methods of positioning HTML elements by using CSS. In addition, you'll learn how to stack elements on top of one another in 3-D.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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