Re: CSS and printing
by "W. Jeffrey Rankin" <jrankin(at)jeffr.net>
|
| Date: |
Sat, 3 Feb 2001 08:45:37 -0500 (EST) |
| To: |
TExoo(at)tribune.com |
| Cc: |
hwg-techniques(at)hwg.org |
| In-Reply-To: |
corp |
| |
todo: View
Thread,
Original
|
|
Hi:
Support of paged-media is somewhat spotty from what I understand in NS6
and IE5+, though I've not seen any reports on what is supported vs.
unsupported. Both of your examples look fine, in any case. I believe Amaya
has the greatest level of support, though it's implementation is spotty as
well.
- Jeff
===================================================
Jeff Rankin jrankin(at)jeffr.net
http://www.jeffr.net/
Be Valid To Be Cool
===================================================
On Fri, 2 Feb 2001 TExoo(at)tribune.com wrote:
> Hello,
>
> This is my first time posting, but I've learned a lot from everyone else
> over the past few months. Right now I'm stumped with this problem, about CSS
> and printing. I've seen lots of information on the web about media=print or
> @media print, and using that to set page margins before printing.
>
> I was able to successfully use the page-break-before style:
>
> <p style="page-break-before:always">
>
> But I can't seem to get this to work.
> Here's my code:
>
> <style type="text/css" media="print">
> BODY {margin-left: 2cm; margin-right: 2cm;}
> </style>
>
> I've also tried the following in a linked style sheet:
>
> @media print {
> body { margin-left: 2cm; margin-right: 2cm;}
> }
>
> Any help would be greatly appreciated!
>
>
> --Thales
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.