Wikka Mod 021: Printable View CSS
Type: Feature AdditionCredit:
BePPrintMethod @ WakkaWiki
Printable View using CSS
- create a print.css in folder css.
- write in it:
.header, .footer, .commentsheader, .copyright {
display:none;
}.page {
border-bottom: 1px inset #000;
} - Open actions/header.php
- insert <link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
- that's it ;-)
The CSS method by Bep is the way to go. To remove the page border, change the print.css file to this:
.header, .footer, .commentsheader, .copyright { display:none; }
.page {
background-color: #FFFFFF;
padding: none;
border: none;
}-- JsnX
CategoryLayout