Jump to content

still a minor problem printing print/css page


Recommended Posts

Guest Cashster09
Posted

I've noticed if it covers two pages then the printing is perfect. But when it only covers one page, it prints fine but it will print a second blank page. I'm not sure what to do or why this is happening..

 

I will be making a coupon page on my clients drycleaning website which i will need customers to print. It will only be one page, but i am afraid it will print out 2 pages with the second page being blank....I dont want that!

 

help again....thanks in advance

 

a sample of a single printed page that prints two pages is

www.webdrycleaners.com

Posted

With this particular page, at least, it looks like page one contains the main content, and page two contains the form buttons on the contact form. As far as I can tell, there isn't anything wrong with your page itself -- it just is a bit too long to fit on one page.

Posted

Ben is correct. However, I think your question is how to get it to print a coupon only. What you will have to do if have a print stylesheet specifically for that coupon page and set everything to be 'display: none'. You would then just set the coupon only to show when printing by using 'display: block'.

Guest Cashster09
Posted (edited)

ok, when i set up the coupon page i will come back here so you guys can check it...

I will want it to print the coupon and some other text on that page informing customers on what to do and so on..not just the coupon...

 

Also, i am not familiar with the display block code....What exactly does that mean?

 

Also, my other pages i have made it so it does stretch to the second page, cuz when it was all on one page it still printed a second blank page.

Edited by Cashster09

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...