This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?
Cascading Style Sheets (CSS) allow you to apply color to a page's background, selected text, elements, links, and various tags. There are three selector types that can be used to apply color to a document using CSS: Class, Tag, and Advanced. This document will review these three selector types and give examples for using each of them.
The Tag option allows you to redefine the formatting of any HTML tag (e.g., <h1>, <p>, <body>) in your page. As an example, these instructions will define the font color for the paragraph, <p>, tag.
From the CSS Styles pane, click NEW CSS RULE![]()
The New CSS Rule dialog box appears.

For Selector Type, select Tag
From the Tag pull-down list, select the desired HTML tag
EXAMPLE: Select p
To create an external CSS file (.css), for Define in, select New Style Sheet File
To create an internal or embedded style sheet, select This document only
NOTES:
You are able to link an external CSS file to several documents. For more information about linking external style sheets refer to Attaching Style Sheets.
An embedded style sheet is located in the <head> section of the document it was created for. The style settings for that style sheet apply only to that document.
Click OK
The CSS Rule definition dialog box appears.
Under Category, select Type
In the Color text box, type the appropriate hexadecimal color value
OR
From the Color box, select the desired color
EXAMPLE: Type #9999CC
HINT: For more information on selecting hexadecimal color values, refer to Web Publishing: Color Names and Numbers.
To test the results, click APPLY
To cancel the changes, click CANCEL
To accept the changes, click OK
NOTE: If OK is selected, changes will automatically apply to all effected tag(s).
The Class option allows you to create a custom style that can be applied to selected text. Once a Class style has been created, that style can be applied to any element on a page. As an example, these instructions will define how to set a text style that can be applied to an organization name wherever it appears on the web page.
From the CSS Styles pane, click NEW CSS RULE ![]()
The New CSS Rule dialog box appears.

For Selector Type, select Class
In the Name text box, type a descriptive name that will make clear the function/purpose of this Class style
NOTE: All Class style names must began with a period (.)
EXAMPLE: Type .UWEC
Click OK
The CSS Rule definition dialog box appears.

Under Category, select Type
In the Color text box, type the appropriate hexadecimal color value
EXAMPLE: Type #9999CC
HINT: For more information on selecting hexadecimal color values, refer to Web Publishing: Color Names and Numbers.
To cancel the changes, click CANCEL
To accept the changes, click OK
To apply this style, select an instance of the text that is to be altered using this style
In the Properties pane, from the Style pull-down list, select the name of the Class style
EXAMPLE: Select UWEC
Selected text will reflect the desired style's settings.
The Advanced Selector option allows you to create styles for the different link options a:active, a:link, a:hover, and a:visited. These link options are also known as pseudo-class selectors. As an example, these instructions will define how to set text color and decoration for an a:visited link.
From the CSS Styles pane, click NEW CSS RULE ![]()
The New CSS Rule dialog box appears.

For Selector Type, select Advanced
In the Selector text box, type the appropriate pseudo-class selector(s)
OR
From the Selector pull-down list, select the appropriate pseudo-class selector
HINT: If the pull-down option is used, only one pseudo-class selector can be selected. If the text box option is used, one or more pseudo-class selections can be selected
EXAMPLE: Type or select a:visited
Click OK
The CSS Rule definition dialog box appears.

Under Category, select Type
In the Color text box, type the appropriate hexadecimal color value
EXAMPLE: Type #9999CC
HINT: For more information on selecting hexadecimal color values, refer to Web Publishing: Color Names and Numbers
For Decoration, select the desired option
EXAMPLE: Select none
To test the results, click APPLY
To cancel the changes, click CANCEL
To accept the changes, click OK
If OK is selected, changes will automatically be applied to all effected link(s).