Usage Note 24063: In ODS HTML, how can I make sure that all tables are uniform?
To make sure that all tables are uniform, specify the OUTPUTWIDTH=
attribute for the Table style element. This will add the value of the OUTTPUTWIDTH= attribute
to the WIDTH= attribute within the HTML table tag. The value can be a percentage or a hardcoded
width. The below example specifies the OUTPUTWIDTH= attribute for the Table style element
which ensures that that the BY-groups maintain uniform tables.
proc template;
define style styles.test;
parent=styles.default;
style table from table /
outputwidth=50%;
end;
run;
proc sort data=sashelp.class;
by age;
run;
ods html file="temp.html" style=styles.test;
proc print data=sashelp.class ;
by age;
run;
ods html close;
See also the full SAS Notes and Concepts for ODS.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> HTML
|
Date Modified: | 2007-10-16 11:42:10 |
Date Created: | 2004-07-01 10:38:19 |