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

Chapter 15. Working with Frames > Understanding Frame Structure

Understanding Frame Structure

Before I introduce the practical aspects of how to design a framed page, I want to demonstrate a fundamental aspect of frame design. Much like tables, frames are built by thinking in columns and rows. Tables, as described in Chapter 14, "Laying Out Tables Within XHTML Documents," get a bit complex with the ways columns and rows are spanned, creating a technological blur between horizontal and vertical reference points. Frames approach the issue in a much clearer way. A column is always a vertical control, a row a horizontal one.

Moreover, the syntax is clear. Rows are created using the rows attribute, columns use the cols attribute. Both columns and rows can be set to a value by using pixels or percentages. For example, cols="240, *" calls for a left column with a width of 240 pixels, and the right column, denoted by the asterisk, will be the dynamic remainder of the available viewing space.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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