I'd like to have two style sheets for printing for my academic wiki.
One would be double spaced print, the other would be single spaced and perhaps with some other differences.
Can I have two separate style sheets and then select the one I need at point of printing? Any ideas, anyone?
Richard Davis
Richard Davis wrote:
I'd like to have two style sheets for printing for my academic wiki.
One would be double spaced print, the other would be single spaced and perhaps with some other differences.
Can I have two separate style sheets and then select the one I need at point of printing? Any ideas, anyone?
Richard Davis
I don't think so, perhaps if you have alternative stylesheets, you can choose between their media print rules. It's more an issue about what your browser supports.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Richard Davis wrote:
I'd like to have two style sheets for printing for my academic wiki.
One would be double spaced print, the other would be single spaced and perhaps with some other differences.
Can I have two separate style sheets and then select the one I need at point of printing? Any ideas, anyone?
Richard Davis
While I'm not versed enough to explain how to customize the code that goes into making the html headers on mediawiki, if you know how, all you have to do is make sure each page inserts HTML like the following:
<link rel="alternate stylesheet" href="/w/index.php?title=MediaWiki:alternate1.css" type="text/css" title="Alternate">
is a way to define an alternate stylesheet to use at rendering. That way you can select your alternate stylesheet from your browser window.
There are other ways to change a stylesheet using javascript or direct commands like, loading a page as so:
http://en.wikipedia.org/w/index.php?title=CSS&useskin=modern
Of course, this has nothing to do with this mailing list in particular, but there's such relatively low volume here I thought I'd answer. :)
- -- Cary Bass Volunteer Coordinator
Your continued donations keep Wikipedia running! Support the Wikimedia Foundation today: http://donate.wikimedia.org Wikimedia Foundation, Inc. Phone: 415.839.6885 x 601 Fax: 415.882.0495
E-Mail: cary@wikimedia.org
wikipedia-l@lists.wikimedia.org