Usage Note 23391: Is there a way to control the margins in an ODS HTML file?
The LEFTMARGIN, RIGHTMARGIN, TOPMARGIN and BOTTOMMARGIN attributes control the margins. You can specify the arguments in pixels or percentages.
By default, the table is centered within the screen. Therefore, specifying an argument to the LEFTMARGIN attribute will not make a noticeable difference unless the argument is greater than the margin where the table is located. To better use the LEFTMARGIN attribute, first
left-justify the table by specifying the NOCENTER option or by specifying the JUST=L attribute within the style element Table. The second example below has a left margin of 0.
options nocenter;
ods html file='temp.html';
.
.
.
ods html close;
or
proc template;
define style styles.test;
parent=styles.default;
style body from body /
just=l
leftmargin=0;
end;
run;
See also the full PROC TEMPLATE FAQ and Concepts.
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: | Third Party ==> Output ==> HTML SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2003-09-22 15:03:53 |
| Date Created: | 2003-08-13 09:19:49 |