October 2009
Beginner
636 pages
13h 35m
English
This example describes how to modify the attributes in the Styles.Default HTML Body style. The Styles.Default template contains only three style attributes for the body of an ODS HTML document: LEFTMARGIN= (or MARGINLEFT=), RIGHTMARGIN= (or MARGINRIGHT=) and PAGEBREAKHTML=. Figure 14.17 shows the specifications for the Body style.
The following PROC TEMPLATE step changes the right margin from 8 pixels to 2 pixels and the left margin from 8 pixels to 0 pixels. It does not modify PAGEBREAKHTML=, so its setting remains the same as was defined in Styles.Default.
PROC TEMPLATE;
DEFINE STYLE styles.chgbody;
PARENT=styles.default;
CLASS Body / marginright = 2
marginleft = 0;
end;
run;
The SAS NOCENTER option must ...
Read now
Unlock full access