Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pages won't print/preview on multiple pages

Status
Not open for further replies.

saroy71

Programmer
May 16, 2002
22
CA
Hi,

We're having problems printing our web pages ( We always get a print preview of only 1 page with the contents extending past the end of page 1. It never goes to page 2! (e.g. a longer page like will only print on one page with the stuff that should be on other pages truncated) We've hid the top section in the stylesheet and the site uses a lot of CSS positioning (e.g. the top section div is actually at the bottom of the code).

We've never seen anything like this printing problem before. Can anyone explain why it wouldn't print on multiple pages?

Thanks!
 
We're actually having the same problem. We think it might be because of our layers. We're using absolute positioning, so the technical "end" of the html file is close to the top of the page, and the browser (using Mozilla Firefox 1.0) maybe doesn't recognize that there is content on the page past the first page.

Has anyone figured out a fix? We had thought about using page breaks or invisible tables to extend the length of the page, but didn't really want to use that kind of "hack".

Thanks,
MG
 

I think Morgan has it - try either rejigging the whole site to not use absolute positioning, or just have a print-only CSS which doesn't use absolute positioning.

Using absolute positioning removes the element from the flow of the document, so the printing routines have no idea about spacing, etc for these elements.

Hope this helps,
Dan

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top