Emulating real sheets of paper in web documents (using HTML and CSS)
Live demo: Try printing the page
A4(21cm × 29.7cm) —sheets-of-paper-a4.cssA3(29.7cm × 42cm) —sheets-of-paper-a3.cssUS Letter(21.6cm × 27.9cm) —sheets-of-paper-usletter.cssUS Legal(21.6cm × 35.6cm) —sheets-of-paper-uslegal.cssUS Tabloid(27.9cm × 43.2cm) —sheets-of-paper-ustabloid.css
- Change the
DestinationtoSave as PDF. - Make sure the
Paper sizeis set to the one defined in your CSS. - From the
Marginslist, chooseNoneto prevent the browser from overriding our CSS. - In the
Optionssection, uncheckHeaders and footersand checkBackground colors and images.
- Open Sans — Steve Matteson (via Google) — Apache License 2.0
Copyright 2014 www.delight.im <info@delight.im>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.