Have you tried this?
@media print {
html, body {
height: 99%;
}
}
More Related Contents:
- How to use HTML to print header and footer on every printed page of a document?
- How do I hide an element when printing a web page?
- CSS to set A4 paper size
- Remove header and footer from window.print()
- Google Chrome Printing Page Breaks
- How can I force browsers to print background images in CSS?
- Browser Support for CSS Page Numbers
- CSS Printing: Avoiding cut-in-half DIVs between pages?
- How to only show certain parts with CSS for Print?
- Suggestions for debugging print stylesheets?
- Good rules for setting up print css? [closed]
- How do I Make Firefox Print a Background-Color Style?
- Need to remove href values when printing in Chrome
- Print Background colours in Chrome
- Safe width in pixels for printing web pages?
- Print styles: How to ensure image doesn’t span a page break
- CSS :after not adding content to certain elements
- Center an element in Bootstrap Navbar
- Offset a background image from the right using CSS
- Transition background-color via slide animation
- Set flexbox children to have different heights to use up available space
- CSS @font-face absolute URL from external domain: fonts not loading in firefox
- How to stick a footer to bottom in css?
- pure CSS multiple stacked position sticky?
- Offsetting columns is not working (Bootstrap v4.0.0-beta)
- What is caret symbol ^ used for in css when selecting elements?
- when scaling an element with css3 scale, it becomes pixelated until just after the animation is complete. I’m animating an element with a border
- Is it acceptable to use tables for forms? Or is it still more correct to use divs?
- How to use variable in CSS? [duplicate]
- Latest on CSS parent selector [duplicate]