Usage Note 23630: In ODS output, how can I avoid page breaks when using an existing CSS?
When you use an existing cascading style sheet (CSS),
style attributes specified in the style
template are not applied. To get rid of the horizontal rule, which is the
line that divides the tables, use the HR selector with the property and value
Display:none. To get rid of the printed page breaks, specify the
P selector with the property and value Display:none. If you specify both selectors,
separate them by commas. This can be done in the CSS or
with the HEADTEXT= option.
ods html file='temp.html' headtext="<style>p,hr {display:none}</style>"
stylesheet=(url="temp.css");
proc print data=one;
run;
proc print data=sashelp.class;
run;
ods html close;
See also Cascading Style Sheets and 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: | Query and Reporting ==> Creating Reports ==> Stylesheets SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2005-05-06 16:01:13 |
Date Created: | 2003-12-24 13:15:38 |