Usage Note 23611: In ODS output, how can I left-justify content in the table of contents
for Netscape and Internet Explorer?
Here is an example of a left-justifying content in the TOC that
works with all browsers. ODS MARKUP is used.
proc template;
define tagset tagsets.test;
parent=tagsets.htmlcss;
define event list;
end;
define event contents_branch;
start:
trigger hyperlink / if any( URL , ANCHOR );
put VALUE / if !any( URL , ANCHOR );
put NL;
trigger breakline;
finish:
file = CONTENTS;
end;
define event contents_leaf;
trigger hyperlink / if any( URL , ANCHOR );
put VALUE / if !any( URL , ANCHOR );
trigger breakline;
trigger breakline;
file = CONTENTS;
end;
end;
run;
ods markup file='temp.html'
contents='temp1.html' tagset=tagsets.test stylesheet='temp.css';
proc print data=sashelp.class contents='this is a test';
run;
proc print data=sashelp.class contents='this is another';
run;
proc print data=sashelp.class contents='thid test';;
run;
ods markup close;
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)
|
| Date Modified: | 2003-12-24 11:42:58 |
| Date Created: | 2003-12-23 16:34:57 |