BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I would like to know which style element effects what part of the ODS output.

e.g.
PROC TEMPLATE;
DEFINE style styles.mystyle /store = libname.templat;
parent = styles.default;

STYLE body from document /
backgroundimage = 'c:\myimage.jpg';

STYLE systemtitle from titlesandfooters /
font = fonts('TitleFont2')
foreground = color_list('Color3')
just = center
vjust = top;

END;
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
One place to start is in the documentation. If you go to:

SAS(R) 9.1 Output Delivery System User's Guide -->
HTML, Printer Family, and Markup Languages Style Elements and Their Inheritances

you will find the "official" documentation for inheritance. Generally speaking, however, there are a couple of quicker ways to track down the style elements that you might need to change. Once you know the element you need to change, then you can go to the doc to find its inheritance chain.

The alternative methods are described in this Forum posting:
http://support.sas.com/forums/thread.jspa?messageID=4032࿀

One method involves the use of creating an HTML file and then looking for the CLASS= attribute in the HTML source (that is your link to the "lowest level" Style element that controls the style). Or the other method is to use a diagnostic tagset, like style_popup to find the style elements.

Another good resource is the R&D and Tech Support FAQ on Proc Template FAQ site:
http://support.sas.com/rnd/base/topics/templateFAQ/Template.html (start here and then look for the specific PROC TEMPLATE or STYLE template links)

Good luck,
cynthia

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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