Usage Note 23467: How can I prevent underlines from appearing on hyperlinks when ODS HTML output is printed?
To prevent the underlines from appearing in the hyperlink when printed
only, use the @media rule
with PRINT as the destination. In the
anchor tag, specify the TEXT-DECORATION:NONE property. By default, this
value is UNDERLINE.
ods html body='temp.html'
headtext='<style type="text/css">
@media print {a {text-decoration:none}} </style>';
proc print data=sashelp.class;
title link="http://www.sas.com" "Title not underlined when printed";
run;
ods html 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: | System Administration ==> Printing SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> HTML
|
| Date Modified: | 2007-07-31 14:12:57 |
| Date Created: | 2003-10-08 12:01:30 |