CSS2 and Printing

liunx

Guest
Hi,

I have been having some problems printing out all information that is shown on a web page i have made. I think that it is something to do with the margins on the printout as it displays on the web without scrolling. I have attempted to solve this using CSS2 to change the size of the margins however can't seem to find a way of making the margins smaller or having no margins at all, only making them bigger. Anyone know how to sort this out, there is only a tiny little bit that is chopped off.

Thanks In AdvanceI believe the margins for printed pages are controlled by browser preferences only. I've tried unsuccessfully to do just what you did. You might be able to try negative left and top margins, but the right and bottom margins would remain the same.CSS Print Profile and page size will help but visibly it depends upon the printer itself as to how small the margins would go obviously most good printers would accept a 1 cm margin.
 
Back
Top