Projects
View on GitHub
delight-im/HTML-Sheets-of-Paper
About
Word processor in your browser using HTML and CSS (for invoices, legal notices, etc.)
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- -1
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalSheets of Paper
Word processor in your browser using HTML and CSS (e.g. for invoices, legal notices, etc.)
- Poor man's Google Docs
- Like the foundation of Microsoft Word or LibreOffice — but in your web browser
- Emulates sheets of paper in web documents (but without skeuomorphic paper textures)
Live demo: Try modifying or printing the page
Usage
- Copy all files to any desired directory
- Modify the HTML source in
index.htmlto your liking
Browser compatibility
- Chrome 4+
- Firefox 19+
- Safari 5+
- Opera 10.1+
- Internet Explorer 9+
- Edge 12+
Paper sizes
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
Landscape orientation
- In the
css/sheets-of-paper-*.cssvariant that you’re using:- Swap the values of
widthandmin-height - Set the second value of the
sizeattribute tolandscape
- Swap the values of
- In
index.html, setConfig.pageHeightInCentimeterto your newmin-heightvalue from above
Printing
Chrome
- 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.
License
This project is licensed under the terms of the MIT License.
Explore related projects
Loading…