Thursday, 15 July 2010

css - ASP.NET MVC - Printing is not taking full page width -


I am trying to print my internet pages and I use that code sample to fit into A4 format For:

  @page {Size: A4; Margin: 0; } @ Media Print {html, Body {Width: 210mm; Height: 297 mm; Unfortunately, my page is not fully displayed (for example, I'm displaying a scheduler and I do not get the full component on the print preview). 

What should I do?

It's hard to tell without a little more information about what you're doing, Is the scheduler component too big for? You need to make sure that whatever you are printing compares to the number of pixels that fits in the allotted space. You may be able to measure whatever you can on the page using CSS, although some objects do not scale. Is there a text on the page, or just the scheduler component?


No comments:

Post a Comment