SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 24065: How do I see the current style settings for my ODS HTML output?

DetailsAboutRate It

To see the style definitions for your ODS HTML output, use the ODS MARKUP statement together with one of the utility tagsets listed below. These are default tagsets for SAS ® 9, but you can download them for use in SAS Release 8.2. These tagsets are experimental for SAS 8.2.

NAMEDHTML
creates HTML output like STYLE_POPUP, but with all the objects labeled similarly to ODS TRACE. When you click the item that you are interested in, a window pops up and shows all of the style attributes.
ODSSTYLE
creates PROC TEMPLATE code for the STYLESHEET= file that you specify. The code includes unparented information, that is, all of the exact style settings.
STYLE_DISPLAY
creates HTML like STYLE_POPUP and also produces a sample page of output.
STYLE_POPUP
creates HTML like HTMLCSS, but if you're using Internet Explorer, a window pops up and shows the resolved ODS style definition for any item that you click.

Here is an example:

   ods markup file="temp.html" tagset=tagsets.namedhtml;

   proc print data=sashelp.class;
   run;

   ods markup close;

View output.

See also the SAS online documentation and the STYLESHEET= defaults table for CSS.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASAlln/a
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.