Making print helps, but really the only way to get the page to print exactly as you want would be to generate a pdf version of the page that the user could export. Ultimately webpage printing is still very browser/user dependent, and there really isn't much that can be done about it. display: none on the header, nav, and footer gets rid of the unwanted browser additions (this only works in chrome and firefox, in ie you still have to select no headers) I have a border:0 on input fields, because it was for a form.įinally I put a width and height on the container div, similar to the size of a standard 8.5 x 11 piece of paper. You can get rid of background images that interfere with the text. On the Design tab, in the Page Setup group, select. Firefox assists you in eliminating many of the problems associated with printing Web pages. Hi, does anybody know where and how this settings are stored within ff I want to set this by default or programatically via Javascript, etc. Change the page orientation to Portrait or Landscape when Auto Size is on. The paper size outlines that are created by page break lines (called tiles) on the current page in your diagram are resized to match the printer paper size. However it is still limited, and Firefox/other browsers don't support solution was to add a print to the style sheet to "encourage" the user to print the page in portrait. Click the printer paper size you want to use. I ran into this issue a little wile ago while making a simple form.Ĭhrome does seem to be the best browser for limiting a users control over the printing process.
0 Comments
Leave a Reply. |