The page looks right. What happens when someone prints it?
A service page reads well on a phone, but saving it as a PDF produces oversized menus, floating controls or cut-off text. Checking the screen layout does not check the printed output. If people use the page in meetings or keep it in their records, that output is part of the actual experience.
A different presentation of the same content
MDN documents two ways to apply print styles: a CSS stylesheet with media="print", or rules inside an @media print block. These adjust the presentation when the page is printed on paper or as a PDF, without requiring a change to its normal screen appearance.
Our recommendation is to start by separating information from controls. A navigation menu or chat button may be unnecessary on paper. The service name, conditions and contact details may be essential. Do not hide an entire section simply because it shares a container with a button.
Margins and page breaks matter too
The @page rule can adjust aspects such as printed page dimensions, orientation and margins. This does not remove the need to test browser output and the options selected in the print dialog. Check that the content fits the available area and that long tables remain understandable.
A background colour that helps on screen may not appear with the chosen settings. Inspect text contrast in the resulting PDF and make sure important distinctions do not depend on colour alone. If a contact address is necessary, it should remain readable away from the website.
Check the result, rather than only the preview
Open the print dialog for both a short page and a long page. Save them as PDFs and inspect every page: title, first and last lines, lists, tables and footer. Look for clipped blocks, blank pages and repeated controls covering text.
After adding print styles, check the screen version again to confirm that the change remains separate. This does not promise identical layout on every printer. It is a concrete check that content leaving the website remains useful and complete.