Guest Cashster09 Posted April 17, 2009 Report Share Posted April 17, 2009 Hello, I have set up a print.css file and it prints fine except that it starts printing the page almost half way down the first page. I would like the page to start printing at the top of the page. my url is http://www.webdrycleaners.com/faqs.html In the print preview you will be able to see what I am talking about. thanks in advance Cashster Quote Link to comment Share on other sites More sharing options...
newseed Posted April 17, 2009 Report Share Posted April 17, 2009 Make sure your #header-wrap is set to display: none; for your print.css Quote Link to comment Share on other sites More sharing options...
Guest Cashster09 Posted April 17, 2009 Report Share Posted April 17, 2009 wow, thank you.... You sir, are a genius!! Quote Link to comment Share on other sites More sharing options...
Guest Cashster09 Posted April 17, 2009 Report Share Posted April 17, 2009 (edited) another question. I now got it all on one page, but it still printing a second BLANK page....grrr any help with this one? I just checked in FF3.0 and it works great on one page but internet explorer 6.0 it prints out two pages and the second page being blank. IE 7.0 it works fine. I hate all these different standards for browsers!! Edited April 17, 2009 by Cashster09 Quote Link to comment Share on other sites More sharing options...
newseed Posted April 17, 2009 Report Share Posted April 17, 2009 (edited) another question.I now got it all on one page, but it still printing a second BLANK page....grrr any help with this one? I just checked in FF3.0 and it works great on one page but internet explorer 6.0 it prints out two pages and the second page being blank. IE 7.0 it works fine. I hate all these different standards for browsers!! More than likely this is due to IE6's default print settings which you really don't have much control over when it comes to someone's browser's print settings. I like to add that you can set a new class in the print.css file to give a page break where you desire. Add this to the html where you think it should have a page break: CSS: (add it to the print.css file only) .page-break { display:block; page-break-before:always; } If by chance that the page is is causing problems when viewing the web page itself, then you can just add this to your media css file: .page-break { display:none; } Edited April 17, 2009 by newseed Quote Link to comment Share on other sites More sharing options...
Guest Cashster09 Posted April 17, 2009 Report Share Posted April 17, 2009 (edited) ok thanks.. now i added media="screen" to my styles.css and now it prints on one page but its leaving out some of the bold for the questions. do i need that in my styles.css? IN other words, my #main will have two diff styles....One in the print and one in the regular styles.....This wont affect anything will it? Im so confused more now than i ever was...I took out the media="screen". It seems to print the way i want for the most part without it. Edited April 17, 2009 by Cashster09 Quote Link to comment Share on other sites More sharing options...
newseed Posted April 17, 2009 Report Share Posted April 17, 2009 ok thanks..now i added media="screen" to my styles.css and now it prints on one page but its leaving out some of the bold for the questions. do i need that in my styles.css? IN other words, my #main will have two diff styles....One in the print and one in the regular styles.....This wont affect anything will it? As long as you define which stylesheet is the media and the print versions then you can style them independently from each other. Quote Link to comment Share on other sites More sharing options...
Guest Cashster09 Posted April 17, 2009 Report Share Posted April 17, 2009 ok i added the media="screen" to my regular styles and then i just added bold to the print styles where i had the class QUESTION.... .question { font-weight: bold;} that worked...although in FF its now on two pages...only one line is on the second page....i can live with that thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.