Defining a New Style
Prior to SAS 9.2, you only had one option in writing a style for use with ODS, and that was proc template styles. Now there are two options 1) proc template styles and 2) Cascading Style Sheets (CSS). If you aren’t familiar with CSS, it is described as “a simple mechanism for adding style to Web documents.” The specification for CSS is overseen by the World Wide Web Consortium (). Even though CSS is usually associated with HTML documents on the Web, ODS uses it for all of its output types that use styles.
Currently, proc template styles have some more powerful features than the CSS implementation1, but they are also more complicated to write. Because CSS is easier to create, let’s start with that.