× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Mike,

The issue is that nothing that I'm aware of implements the parts of CSS3
that let you define the size of a "page" for printing. You can force
page breaks but that's about it. Here's an example style sheet that lets
you do that:

<style type="text/css">
.shipntrack {page-break-before: always;}
</style>

If you assign the class "shipntrack" to something (like a div), you'll
get a page break before that element prints. I use this technique for
things like making sure the payment stub prints on it's own page when
online invoices are viewed.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Mike
Sent: Friday, June 01, 2007 4:43 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] How Big Is a Letter Page

I could go into a long rant, but lets just put it this way.

It is an emailed newsletter... requirements include the HTML version
included in the email and a "printable version" in PDF. Dealing with
user/office politics. Us programmers know that it should just be HTML or
just PDF, but as we know its the users in control and they won't change.

On 6/1/07, Matt.Haas@xxxxxxxxxxx <Matt.Haas@xxxxxxxxxxx> wrote:

Mike,

If you are trying to have absolute control over page flow, generate a
PDF. HTML is the wrong tool for the job.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Mike
Sent: Friday, June 01, 2007 4:08 PM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] How Big Is a Letter Page

We are having "issues" with a multi-page HTML newsletter. They want to
set
the page breaks so they can control the flow.

I have found that 750 is a good width, but how high in pixels would a
letter
size page be? And is there a way to force these sizes so they can't go
bigger than that our defined size?

--
Mike Wills
http://www.linkedin.com/in/mikewills
Blog - http://mikewills.name
Podcasts - http://podcastmike.com
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.