Administration > Customizing Framesets > Customizing Text and Background
  
Customizing Text and Background
Text and background are controlled by the viewer.css file. The viewer.css file for a specific document resides in the directory to which you published the document. The viewer.css file that controls the default look of your Web documents is located at Arbortext-path\framesets\axdocbook\default and Arbortext-path\PTC Arbortext\framesets\axdocbook\default-perl.
Many features of Arbortext Editor Web documents are controlled by rule sets in viewer.css. Each rule set consists of two parts: a selector followed by a declaration.
selector — Dictates what feature the rule controls (for example, pointer color in index)
declaration — Defines the appearance of the feature (for example, blue)
Following is a list of some of the rules you might want to customize. Each rule in the list is identified by the name of its selector. Each rule is specific to one of the three parts of the browser window: the navigation area, the document viewing area, or the control bar area. In these descriptions, “cursor handling” refers to the behavior of the mouse pointer.
BODY.text — This rule defines the appearance of the background of the viewing area. The default background color is white.
BODY.local — This rule defines the appearance of the background of the control area, which contains the Previous and Next buttons. The default background color is dark blue.
BODY.nav — This rule defines the appearance of the background of the navigation area. The default background color is dark blue.
.nav — This rule controls the font style and color of the navigation area.
.navtoc SPAN — This rule controls the font color and cursor handling of the table of contents in the navigation area.
SPAN.navtree — This rule controls the color and appearance of the expand and collapse icon in the table of contents. With the exception of color, this rule must match SPAN.navtreehover exactly. An alternate color can be used to indicate when the pointer is over the icon.
SPAN.navtreehover — This rule controls the color and appearance of the expand and collapse icon in the table of contents when the pointer is over the icon. With the exception of color, this rule must match SPAN.navtree exactly. An alternate color can be used to indicate when the pointer is over the icon.
.navtoc .hover — This rule specifies the font color for a single table of contents entry when the pointer is over it.
.navtoc DIV — This rule specifies the indentation for first-level entries in the table of contents. There are rules for 5 levels with increasing indentation for each level. You can add rules for additional levels. Values for indentation are in ems.
.navindex .hover — This rule controls the font color for an index entry when the pointer is over it.
.navbucket — This rule controls the formatting and font style for index category identifiers in their expanded state, when their contents are visible.
.cnavbucket — This rule controls the formatting and font style for index category identifiers. These are the upper case letters used to divide the alphabetically sorted index and symbolize their contents.
.navindex1 — This rule controls the font, color, indentation, and cursor handling for a primary index entry. There are rules for secondary and tertiary entries as well.
.localprev — This rule controls the font for, and location of, the Previous button on the control bar.
.localnext — This rule controls the font for, and location of, the Next button on the control bar.
.localtext — This rule defines the pointer when it is over the buttons on the control bar.
.enter_selection — This rule controls the background of the area of the document where text is selected. This should be the same as the color specified for BODY.enter.
.enter DIV — This rule controls the position of the dialog box in the browser window.
* 
For more information on rule sets, visit the Worldwide Web Consortium Web site at www.w3.org, and read the information on the syntax for cascading stylesheets.