Changing the Appearance of HTML Output

Style Definitions

You can change the appearance of your HTML output by specifying a style in the STYLE= option in the ODS HTML statement. Some of the style definitions that are currently shipped with SAS are
  • Banker
  • BarrettsBlue
  • Default
  • HTMLblue
  • Minimal.
  • Statistical
General form, STYLE= option:
STYLE=style-name
where style-name is the name of a valid SAS or user-defined style definition.
Note: Don't enclose style-name in quotation marks.

Example

In the program below, the STYLE= option applies the Banker style to the output for the PROC PRINT step:
 ods html body='c:\records\data.html' style=banker; proc print data=clinic.admit label; var sex age height weight ...

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.