Hi,
I have a proc report preceded by 2 tiles(title1& title2). I have a background color for titles.
There seems to be a small space between the 2titles.
I am trying to eliminate this using the SystemTitleAndFooterContainerand TitleAndNoteContainer class of the style I am using. Did not work.
Below is my proc template and proc report.
proc template;
define style duals;
parent= styles.plateau;
style GraphColors from graphcolors /
"gdata1"=cx3230b2
"gdata2"=cxb2309e
"gcdata1" = cx000000
"gcdata2" = red
"gcdata3" = cx000000
"gramp3cend" = cxaa081b
"gramp3cneutral" = cx000000
"gramp3cstart" = cx1ba808;
style GraphFonts from GraphFonts
"Fonts used in graph styles" /
'GraphTitleFont' = (", ",8pt,bold)
'GraphLabelFont' = (", ",8pt)
'GraphValueFont' = (", ",8pt)
'GraphDataFont' = (", ",7pt)
'GraphAxisFont' = (", ",6pt)
;
class table, header, data/
/*backgroundcolor=white */
color=black
fontfamily=" Arial, Verdana"
fontsize=8pt ;
class body/
backgroundcolor=white
color=black
fontfamily=" Arial, Verdana"
fontsize=8pt
borderstyle=none pagebreakhtml=_undef_;
class SystemTitleAndFooterContainer /
padding=1
rules = NONE
frame = VOID
width = 100%
padding = 0
borderspacing = 0 backgroundcolor=#f5f5f5
borderwidth = 0 cellspacing=0 ;
class TitleAndNoteContainer /
rules = NONE
frame = VOID
width = 100% backgroundcolor=#f5f5f5
padding = 0
borderspacing = 0
borderwidth = 0;
class systemtitle/
fontfamily=" Arial, Verdana"
backgroundcolor=#f5f5f5
fontweight=bold
fontsize=8pt borderwidth=0 ;
end;
run;
%let _ODSSTYLE=duals;
%let _ODSOPTIONS=body=_webout (title='');
%let _ODSDEST=tagsets.htmlpanel;
%let _ODSOPTIONS=options( embedded_titles = 'yes' /*bylabels='no' *panelborder='1'*/);
%stpbegin;
ods tagsets.htmlpanel event=row_panel(start) ;
ods tagsets.htmlpanel event=column_panel(start);
title1 'General Production';
title2 "As of %sysfunc(date(),worddate.)";
proc report data=sashelp.cars ;
run;
Disregard.
I asked the question a year ago and was answered by Cynthia. Thanks Cynthia.
But what was the answer? The other post seemed to be about colors and the appearance of lines, not about reducing space between title lines.
I was thinking that possibly bodytitle might give you more control, but I'm interested in discovering what the solution is.
Art
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.