printing with style sheets
by Srinivas S <srinivasgargi(at)yahoo.com>
|
Date: |
Tue, 8 Jan 2002 07:04:32 -0800 (PST) |
To: |
hwg-languages(at)hwg.org |
|
todo: View
Thread,
Original
|
|
Hi,
I used an external style sheet to format the output of
my cgi script.
print header, start_html(
-title=>'Generate test plan',
-style=>{-src=>'style.css'}
);
With this, the output on the browser was exactly as
specified in the style sheet. But when I save the file
or try printing the output, the style is not applied
and all the format is lost.
I tried 2 other options,
(1) {-src=>'style.css',-media=>'print'} and
(2) {-src=>'style.css',-media=>'all'}.
but the problem persists.Can somebody tell me how to
retain the format when saving or printing?
Thanks,
Srinivas
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA