Yes, I am using PROC REPORT, and I have set various cellpadding values. My code is: **Create Report**;
proc report data=report_&infection split='\'
style(report)={cellspacing=0 cellpadding=2}
style(header)={ background=cxE0E0EB foreground=black font_face=calibri font_weight=bold font_size=8pt}
style(column)={ background=white foreground=black font_face=calibri font_weight=medium font_size=8pt bordertopcolor=white};
column unit infCount exp1 sig SIR_int row printed_row;
define unit / display center "Unit Type" style(column)={width=31.75%} ;
define infCount / display "Observed\&infText" center style(column)={width=17.75%};
define exp1 / display "Predicted\&infText" center style(column)={width=17.75%};
define SIR_int / display center "How Does This Facility\Compare to the National\Experience?" style(column)={width=31.75%};
define sig / display noprint;
define row / order noprint;
define printed_row / display noprint;
** Use the appropriate font/color for SIR interpretation text;
compute SIR_int;
if sig=1
then call define(_col_,"style", "style={color=black}");
else if sig=2
then call define(_col_,"style", "style=[color=red]");
else if sig=3
then call define(_col_,"style", "style=[color=green]");
else if sig=4
then call define(_col_,"style", "style=[color=black]");
endcomp;
compute printed_row;
if unit = "All reporting units" or unit = "Facility-wide inpatient" then do;
do i = 1 to 5; ** column sequence from column statement above, so for cols 1 to 5;
** "merge" means to NOT overwrite other styles on this cell;
call define(i,"style/merge","style={font_weight=bold}");
if printed_row > 1 then do; ** write overline for this row if it is not the only row in the output;
call define(i,"style/merge","style={bordertopcolor=black}");
end;
end;
end;
endcomp;
run; I also tried setting cellpadding=2px and 1px (in addition to just cellpadding=2, as above), and no change in output. I'm not sure it's my code that's causing the issue, though. The same issue is in a PROC REPORT output you added as a response to the SAS Communities question entitled "Can a format use unicode characters and have different font sizes" back on 04-20-2015, where the PROC REPORT rows containing Unicode arrow-characters are significantly taller than the other rows.
... View more