DekGenius.com
Previous Section Next Section

2.5 Page Properties

Use the Page Properties dialog box, shown in Figure 2-21, to format your HTML documents. The dialog box includes options to set the margins, background images and colors, text and link colors, and options to control text encoding. It is accessed by using Modify figs/U2192.gif Page Properties, Ctrl+J (Windows), or Cmd+J (Macintosh).

The Page Properties dialog box sets formatting attributes using the <body> tag, which works with 3.0 browsers but does not conform to the latest HTML standards. Chapter 10 explains how to set similar properties using CSS, when supporting 4.0+ browsers.

Figure 2-21. The Page Properties dialog box
figs/dwn_0221.gif

The Page Properties dialog box's options are detailed in Table 2-14.

Table 2-14. Page Properties options

Control

Description

Title

The title for the document—used in the browser window's title bar and used as the default name when bookmarking the page.

Background Image

If the background image is smaller than the page, it is tiled by default; otherwise it is cropped. It can also be controlled by CSS.

Background

Sets the document background color.

Text

Sets the default text color (excluding links).

Links

Sets the default color of links.

Visited Links

Sets the default color of visited links.

Active Links

Sets the default color of active links (the color that appears when clicking on a link).

Left Margin

Sets the left margin in pixels (percentages are not allowed). It is used by IE only and ignored by NN. The right margin cannot be set in IE.

Top Margin

Sets the top margin in pixels (percentages are not allowed). It is used by IE only and ignored by NN. The bottom margin cannot be set in IE.

Margin Width

Sets both the left and right margins in pixels (percentages are not allowed). It is used by NN only and ignored by IE.

Margin Height

Sets both the top and bottom margins in pixels (percentages are not allowed). It is used by NN only and ignored by IE.

Document Encoding

Sets the character encoding used in the document. Use Western (Latin1) encoding for English and Western European languages. Specify Other encoding to use the operating system's default encoding method.

Tracing Image

Specifies a layout guide image to use when designing in Dreamweaver (never visible in a web browser).

Image Transparency

Specifies the transparency level of the tracing image (0 is opaque and 100 is transparent).

    Previous Section Next Section