#When printing a double-sided document, the page boxes on the left and right pages should be different.
can be represented by two CSS pseudo-classes as follows:
<style> <!-- @page :left { margin-left: 4cm; margin-right: 3cm; } @page :right { margin-left: 3cm; margin-right: 4cm; } --> </style>
The above is the detailed content of Print two-sided documents using CSS settings. For more information, please follow other related articles on the PHP Chinese website!