BookmarkSubscribeRSS Feed
Bill
Quartz | Level 8
I'm using the styles.minimal template for some output that's going to excel via ods html. It produces a far more compact file than any of the other templates that I've tried. I'd like to be able to make the grid lines light gray instead of the heavy black. I don't know what to change in the minimal template to achieve that result. Could someone help please ... Or even a different ods method to achieve a similar (small file) result. Using SAS v8

Thanks,
Bill
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
In order to change the output that you get with ODS HTML and styles.minimal in SAS 8, your best bet is to contact Tech Support for help. First, you have to change styles.minimal template using PROC TEMPLATE syntax. Second, you need to refer to the SAS 8 version of styles.minimal becasue there's a good chance that if anybody used styles.minimal from SAS 9 as a model or test, it wouldn't work in SAS 8 (some Graph style elements were added in SAS 9, so it would be hard for somebody to change the SAS 9 template to work in SAS 8.)

Generally speaking though, you might have to change the background color for various style elements -- CONTAINER, BODY, TABLE, DOCUMENT, HEADER, DATA, etc to a gray color (like cxeeeeee or cxcccccc are light grays) BUT, you may also need to alter the RULES, CELLSPACING and BORDERWIDTH attributes too, in order to achieve the look you want.

Tech Support can help you with the right syntax for SAS 8. For information on how to contact Tech support, refer to:
http://support.sas.com/techsup/contact/index.html

Good luck,
cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1188 views
  • 0 likes
  • 2 in conversation