Firefox printer settings fit width3/15/2024 This worked pretty well, but I don't know if it only affects Chrome or if it affects IE and Firefox as well. Transform: scale(0.5) transform-origin: 0 0 However the printed result is very different in Chrome vs IE11. I don't know why Google Chrome can't do this as well. Internet Explorer 11 seems to be able to scale the page automatically in the print dialog. Margin-right: 450mm /* for compatibility with both A4 and Letter */īut I cannot notice any effect in the print preview. I have tried messing around with media queries such as this: 297mm 210mm /* landscape */ Here's what the output might look like (Firefox 60): How do I scale the HTML to fit one printed page? ![]() The page (am I allowed to link to it?) displays properly in the browser, but when printing in Google Chrome (I haven't tested other browsers yet), it is too big horizontally to fit in a single page. I have a Web page with a diagram that is meant to be fixed in size to width:1660px height:480px using CSS.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |