Hi:
As you noted, ODS cellpadding style attribute is ALL the white space. The formatted width for a variable does not have an impact on ODS output -- only on LISTING window output. So your idea of using f=comma20. would NOT work in ODS HTML, RTF or PDF -- those destinations allot only the needed space for the number -- it does not pad the format width, as in Listing.
If your destination of choice is HTML, then you might be able to use CSS style properties by setting:
[pre]
HTMLSTYLE='padding-top: 0px; padding-left: 3px; padding-right: 3px; padding-bottom: 0px;'
[/pre]
However, CSS style properties cannot be used for RTF and PDF in SAS 8 or 9.1.3. You may be able to use the new CSSSTYLE option in order to use a CSS style sheet with RTF and PDF in 9.2.
For more information on using the HTMLSTYLE attribute in a style template or a STYLE= override, refer to these sites:
http://support.sas.com/rnd/base/ods/templateFAQ/report1.html (shows a lot of HTMLSTYLE examples)
http://support.sas.com/kb/23/373.html (shows NOWRAP)
http://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html#htmlstyle (shows COLOR)
cynthia