Last active
July 8, 2020 11:41
-
-
Save j-schreiber/ca2105220456b94424c722ccba332189 to your computer and use it in GitHub Desktop.
CSS snippet to format a printed visualforce page as ANSI letter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** DIN 5008 (Type A) with margins and paddings */ | |
@page { | |
size: A4 portrait; | |
margin: 27mm 0mm 32mm 0mm; /** These margins control size of header and footer */ | |
padding: 5mm 0mm; /** Paddings for content page area to header/footer */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** ANSI Letter without individual margins */ | |
@page { | |
size: letter portrait; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment