

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set printing double-sided documents with CSS
When printing double-sided documents, the page boxes on the left and right pages should be different.
Example
It can be expressed through two CSS pseudo-classes as follows −
<style> <!-- @page :left { margin-left: 4cm; margin-right: 3cm; } @page :right { margin-left: 3cm; margin-right: 4cm; } --> </style>
- Related Questions & Answers
- Set border width with CSS
- Set Inset border with CSS
- Set Outset border with CSS
- Set Mask Effect with CSS
- Set left tooltip with CSS
- Set bottom tooltip with CSS
- Set Invert Effect with CSS
- Set Grayscale Effect with CSS
- Set right tooltip with CSS
- Set top tooltip with CSS
- Set quotation marks with CSS
- Including CSS in HTML Documents
- Set the link color with CSS
- Set the Background Attachment with CSS
- Set the font style with CSS
Advertisements