Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

part printed page CSS

Status
Not open for further replies.
Joined
Jan 19, 2007
Posts
2,207
Reaction score
47
I have a very boring black and white page, nothing special at all.

Only a few divs, and each can vary in size depending on what's pulled from the mysql DB. I'm using php.

Basically, most of the time that I print the page, It prints nicely to 1 page where everything is nicely laid out. I have print.css and screen.css stylesheets specified (they happen to be the same).

But sometimes when I print a chunk from the middle of the page is missing or is cut off (not even to be shown on page 2).

I see that css has elements like:
display:block; page-break-before:always;

but I'm not sure that specifying a pagebreak in a div is the best thing for me to do as most of the time my pages are well laid out and only 1 page.

I'm just trying to find a way that should the page be longer, that all the content is printed across the 2 pages with nothing missing.

Has anyone run into this problem and may know a solution?
 
Added:

Very weird I've just been playing around with browsers and settings and Safari (Mac) prints everything by dividing the pages without skipping any content (which is what I wanted), but Firefox (Mac) doesn't play nice !
 
You'll prob find its a ff issue then. I use opera myself as its pretty much the most strict of browsers. You may wanna goto the FF forums for a fix in a conditional.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom