In skins\common\ there is a file called commonPrint.css This is what you want to edit to change printed style.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Reizer Gábor Sent: Monday, November 26, 2007 8:51 AM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Use CSS to Print
Hi,
I have MW 1.10. Main.css and Common.css contain wikitable format:
table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; }
table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em; }
table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; }
table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; }
I use this format in many pages. If I print the format can not be seen.
How can I solve this problem?
Regards, Gabor _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l