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 → Page Properties, Ctrl+J (Windows), or Cmd+J (Macintosh).
Tip
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
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 ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access