Home > Articles > Web Development > Microsoft Expression Studio

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Configuring Frames

To configure frames in a frameset, right-click the frame and select Frame Properties from the menu. Alternatively, you can select the frame and select Format, Frames, Frame Properties. Either method displays the Frame Properties dialog shown in Figure 6.4.

Figure 6.4

Figure 6.4 All frame properties are easily configured using the Frame Properties dialog.

The following properties are configurable in the Frame Properties dialog:

  • Name—The name of the frame can be used when you need to direct hyperlinks to open in that frame. Links with a target attribute of "main" open in the frame being configured (refer to the example shown in Figure 6.4).
  • Initial Page—The initial page is the URL displayed in the frame when it is first loaded.
  • Long Description—The long description specifies the URL of a file that contains a long description of what appears in the frame. This is used by screen readers.
  • Title—The title is a short description of the frame's contents. It is also used by screen readers.
  • Frame Size Width and Row Height—Specifies the width and height of the frame. This can be relative to other frames in the frameset, a percentage of available window space, or absolute pixel dimensions.
  • Margin Width and Height—Specifies the margins for the frame.
  • Resizable in Browser—When checked, the frame can be resized by dragging the border in the browser.
  • Show Scrollbars—Configures whether scrollbars are displayed. Can be set to the following: If Needed, Never, or Always.

By clicking the Frames Page button shown previously in Figure 6.4, you can access properties for the frameset page, as shown in Figure 6.5. Adjusting the Frame Spacing value changes the width of the border between frames. To remove the border completely, remove the check from the Show Borders check box.

Figure 6.5

Figure 6.5 Properties for the frameset page are configured in the Page Properties dialog.

Splitting Frames

To split a frame into two frames, select the frame and then select Format, Frames, Split Frame. Expression Web displays the Split Frame dialog shown in Figure 6.6, where you can choose to split the frame into columns or rows.

Figure 6.6

Figure 6.6 A frame can be split into two frames side-by-side or stacked one on top of the other.

When a frame is split into two frames, each of the two frames will be 50 percent of the width or height of the original frame.


For more information on adding tables to a page, see "Tables in Expression Web," p. 96.

Deleting Frames

To delete a frame, select the frame and then select Format, Frames, Delete Frame. Expression Web removes the frame immediately without confirmation. If you remove a frame inadvertently, you can select Edit, Undo Delete Frame or press Ctrl+Z to restore it.

  • + Share This
  • 🔖 Save To Your Account