Features: |
CLASS statement PARENT= statement |
Other features: |
|
Data set: | Energy |
Format: | DIVFMT. and USETYPE. |
ods path sasuser.templat(update) sashelp.tmplmst(read);
ods html body="sasdefaultstyle-body.htm" contents="sasdefaultstyle-content.htm" frame="sasdefaultstyle-frame.htm";
title "Energy Expenditures for Each Region"; title2 "(millions of dollars)";
proc print data=energy noobs; var state type expenditures; format division divfmt. type usetype. expenditures comma12.; by division; where division=2 or division=3; run;
ods html close; ods html;
ods html body="sasdefaultstyle-body.htm" contents="sasdefaultstyle-content.htm" frame="sasdefaultstyle-frame.htm";
proc print data=energy noobs; var state type expenditures; format division divfmt. type usetype. expenditures comma12.; by division; where division=2 or division=3; run;
proc template; define style customdefault;
parent=styles.htmlblue;
class contents / background=cxffffcc; class contenttitle / background=cxffffcc; class data / background=cxcccccc; style IndexProcName from Index / backgroundcolor = cxffffcc;
class colors / 'link2' = cx0000FF 'link1' = cx800080 'docbg' = cx99ccff 'contentbg' = cxFAFBFE 'systitlebg' = cx99ccff 'titlebg' = cxFAFBFE 'proctitlebg' = cxFAFBFE 'headerbg' = cxEDF2F9 'captionbg' = cxFAFBFE 'captionfg' = cx112277 'bylinebg' = cx99ccff 'notebg' = cxFAFBFE 'tablebg' = cxFAFBFE 'batchbg' = cxFAFBFE 'systitlefg' = cx112277 'titlefg' = cx112277 'proctitlefg' = cx112277 'bylinefg' = cx112277 'notefg' = cx112277;
class Header / bordercolor = cxEDF2F9 backgroundcolor = cxEDF2F9 color = cx112277;
class text / "prefix1" = "PROC " "suffix1" = ":" "Content Title" = "Contents" "Pages Title" = "Pages" ;
end; run;
ods html body="customdefaultstyle-body.htm" contents="customdefaultstyle-content.htm" frame="customdefaultstyle-frame.htm" style=customdefault;
title "Energy Expenditures for Each Region"; title2 "(millions of dollars)";
proc print data=energy noobs; var state type expenditures; format division divfmt. type usetype. expenditures comma12.; by division; where division=2 or division=3; run;
ods html close; ods html;
class contents / background=cxffffcc; class contenttitle / background=cxffffcc; class data / background=cxcccccc; style IndexProcName from Index / backgroundcolor = cxffffcc;
class colors / 'link2' = cx0000FF 'link1' = cx800080 'docbg' = cx99ccff 'contentbg' = cxFAFBFE 'systitlebg' = cx99ccff 'titlebg' = cxFAFBFE 'proctitlebg' = cxFAFBFE 'headerbg' = cxEDF2F9 'captionbg' = cxFAFBFE 'captionfg' = cx112277 'bylinebg' = cx99ccff 'notebg' = cxFAFBFE 'tablebg' = cxFAFBFE 'batchbg' = cxFAFBFE 'systitlefg' = cx112277 'titlefg' = cx112277 'proctitlefg' = cx112277 'bylinefg' = cx112277 'notefg' = cx112277;
class Header / bordercolor = cxEDF2F9 backgroundcolor = cxEDF2F9 color = cx112277;
class text / "prefix1" = "PROC " "suffix1" = ":" "Content Title" = "Contents" "Pages Title" = "Pages" ;
ods html body="customdefaultstyle-body.htm" contents="customdefaultstyle-content.htm" frame="customdefaultstyle-frame.htm" style=customdefault;
proc print data=energy noobs; var state type expenditures; format division divfmt. type usetype. expenditures comma12.; by division; where division=2 or division=3; run;