MediaWiki:Print.css: Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 10: Line 10:
word-wrap: break-word; /* Internet Explorer 5.5+ */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
}
p.pre {
color: #000;
background-color: #f9f9f9;
padding: 5px;
border: 1px dotted #444;
font-family: monospace;
font-size: 12.7px;
line-height: 13.97px;
vertical-align: baseline;
        white-space: pre; }
.pageBreak { page-break-before: always; }
* {
        overflow: visible !important; /* Required for FireFox pre-3.6 to print past page 1 */
        }
#pre {
        float:none; /* This fixes the won't-print-past-page-1 bug re-introduced in FF3.6 */
        }

Latest revision as of 21:44, 4 February 2013

/* CSS placed here will affect the print output */

pre {
	overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
	white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */ /*
	width: 99%; */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
}

p.pre {
	color: #000;
	background-color: #f9f9f9;
	padding: 5px;
	border: 1px dotted #444;
	font-family: monospace;
	font-size: 12.7px;
	line-height: 13.97px;
	vertical-align: baseline;
        white-space: pre; }

.pageBreak { page-break-before: always; }

* {
        overflow: visible !important; /* Required for FireFox pre-3.6 to print past page 1 */
        }

#pre {
         float:none; /* This fixes the won't-print-past-page-1 bug re-introduced in FF3.6 */
         }