Previous Page | Next Page

Output Delivery System: Basic Concepts

Understanding Styles, Style Elements, and Style Attributes

To customize the output at the level of your entire output stream in a SAS session, you specify a style. A style describes how to generate the presentation aspects (color, font face, font size, and so on) of the entire SAS output. A style determines the overall look of the documents that use it.

Each style consists of style elements. A style element is a collection of style attributes that apply to a particular part of the output. For example, a style element might contain instructions for the presentation of column headings, or for the presentation of the data inside the cells. Style elements might also specify default colors and fonts for output that uses the style.

Each style attribute specifies a value for one aspect of the presentation. For example, the BACKGROUND= attribute specifies the color for the background of an HTML table or for a colored table in printed output. The FONTSTYLE= attribute specifies whether to use a Roman or an italic font. For information on style attributes, see the section on style attributes in TEMPLATE Procedure: Creating a Style Template (Definition).

Note:   Because styles control the presentation of the data, they have no effect on output objects that go to the LISTING or OUTPUT destination.  [cautionend]


Styles That Are Shipped with SAS Software

Base SAS software is shipped with many styles. To see a list of these styles, view them in the SAS Explorer Window, use the TEMPLATE procedure, or use the SQL procedure.

For more information on how ODS destinations use styles and how you can customize styles, see the DEFINE STYLE Statement.


Using Styles with Base SAS Procedures

Previous Page | Next Page | Top of Page