RE: hwg-techniques-digest V1 #1070

by "W. Jeffrey Rankin" <jrankin(at)jeffr.net>

 Date:  Sat, 18 Nov 2000 11:35:55 -0500 (EST)
 To:  "Carney,
Michelle" <carney(at)marshall.edu>
 Cc:  "'hwg-techniques(at)mail.hwg.org'" <hwg-techniques(at)mail.hwg.org>
 In-Reply-To:  MUSOMEXCHANGE
  todo: View Thread, Original
You may want to check out this resource at the W3C:
	http://www.w3.org/TR/REC-CSS2/page.html

It addresses working with paged media. I've only experimented with this
using Amaya (the W3C's editing platform), which implements part of the
spec fairly well, I haven't tried it with IE or Mozilla, so results will
vary as usual.

Basically though, you can define a page box that has top, bottom, left and
right margins using something like this:

@page { size: 8.5in 11in;
        margin-left: 1in;
        margin-right: ....
        ....
      }

As someone has already mentioned, you can control for page breaks, as well
as orphans and widows.

I guess you'd have to experiment with this where, given this @page, I can
fit X many graphics on the page before I have to set a page break.

Of course this is pretty theoretical, as I'm unsure how far IE and Mozilla
have implemented this. Anyone else done much with this??

- Jeff

===================================================
Jeff Rankin	jrankin(at)jeffr.net

http://www.jeffr.net/

Be Valid To Be Cool
===================================================

On Sat, 18 Nov 2000, Carney, Michelle wrote:

> ---------------------------
> Subject: Printing a webpage?
> 
> The problem is that he wants the customers to be able to print the page and
> it
> should only have 5 products per page! If the item won't fit on a page then
> it
> would be printed on the next page. I'm not aware that such a thing can be
> done
> with HTML.
> 
> So, got any suggestions, I'm totally out of ideas!
> 
> Yours,
> Lauri
> -----------------------------
> Lauri,
> 
> I ran into a similar problem and I only know of one way to make a page print
> out the way you intended it to look and that is by using a PDF format.  I
> know that Adobe will allow for (I think) up to 5 documents to be converted
> from another format to PDF via their website.  If you can afford it, you
> might want to consider purchase of Adobe Acrobat for this purpose.
> 
> hope this helps you!   [btw, this is my *first* posting here!! ... I am
> *such* a newbie here!!]
> michelle
> 

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.