Chapter 12
Style Attributes
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 993
Style Attributes Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 993
Style Attributes Detailed Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1004
Style Attribute Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1037
Overview
Style attributes influence the characteristics of individual cells, tables, documents,
graphs, and HTML frames. Style attributes exist within style elements and are specified
by the STYLE statement or the CLASS statement. The default value for an attribute
depends on the style that is in use. For information about styles, style elements, and style
attributes, see “Understanding Styles, Style Elements, and Style Attributes” in SAS
Output Delivery System: Procedures Guide. For information about using style attributes
with ODS Statistical Graphics, see the chapter on controlling the appearance of your
graphics in SAS Graph Template Language: User's Guide.
Style attributes can be supplied by SAS or user-defined. Style attributes can be
referenced with a style reference. See “Understanding Style References ” in SAS Output
Delivery System: Procedures Guide and style-reference” on page 1041 for more
information.
The implementation of an attribute depends on the ODS destination that formats the
output. When creating HTML output, the implementation of an attribute depends on the
browser that is used. For information about viewing the attributes in a style, see
“Viewing the Contents of a Style” in SAS Output Delivery System: Procedures Guide.
For a list of the values that style attributes can specify, see “Style Attribute Values” in
SAS Output Delivery System: Procedures Guide. For a list of style elements that you can
specify style attributes in, see Chapter 11, “Style Elements,” on page 965.
Style Attributes Tables
For detailed information about these style attributes and their aliases, see “Detailed
Information for All Style Attributes” in SAS Output Delivery System: Procedures Guide.
993
Table 12.1 Table of General Style Attributes
Attribute Task Destinations Affected Items
“ABSTRACT=ON | OFF” (p. 1004) Specify whether styles
used in an HTML
document are used in CSS
style files
Markup family HTML
documents
“ACTIVELINKCOLOR=color” (p. 1004) Specify the color that a link
in an HTML document
changes to after you click
it, but before the browser
opens that file
Markup family HTML
documents
“ASIS=ON | OFF” (p. 1004) Specify how to handle
leading spaces and line
breaks in an HTML
document
Markup family,
printer family, and
RTF
Table cells and
HTML
documents
“BACKGROUNDCOLOR=color” (p. 1005) Specify the color of the
background of tables, table
cells, or graphs
Markup family,
printer family, and
RTF
Table cells,
tables, graphs
“BACKGROUNDIMAGE="string"” (p. 1005) Specify an image to use as
the background
Markup family,
PCL, PS, and
TAGSETS.RTF.
Table cells,
tables, graphs.
For
TAGSETS.RTF,
only applies to
the document.
“BACKGROUNDPOSITION=position”
(p. 1005)
Specify the position of the
background of the tables,
table cells, or graphs
Markup family,
printer family, and
RTF
Tables, graphs,
and HTML
documents
“BACKGROUNDREPEAT=option” (p. 1006) Specify whether an image
is repeated horizontally,
vertically, both, or not
repeated
Markup family Individual tables
or table cells,
graphs
“BODYSCROLLBAR=YES | NO | AUTO”
(p. 1006)
Specify whether to put a
scroll bar in the frame that
references the body file
Markup family Individual frames
in HTML output
“BODYSIZE=dimension | dimension% | * ”
(p. 1007)
Specify the width of the
frame that displays the
body file in the HTML
frame file
Markup family Individual frames
in HTML output
“BORDERBOTTOMCOLOR=color ”
(p. 1007)
Specify the color of the
bottom border of the table
Markup family,
printer family, RTF,
and Measured RTF
Bottom border of
a table or table
cell
“BORDERBOTTOMSTYLE=line-style”
(p. 1007)
Specify the line style of the
bottom border of the
selected cell
Markup family,
RTF, and Measured
RTF
Bottom border of
a table or table
cell
994 Chapter 12 Style Attributes

Get SAS 9.4 Output Delivery System, 4th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.