Last modified: 2005-07-06 18:06:42 UTC
Please add a generic class, e.g. "noPrint", to the css file http://en.wikibooks.org/skins/common/commonPrint.css just before the line > /* Hides all the elements irrelevant for printing */ > display: none; Reason: I am working in Wikibooks, and I would like to add a <div> on screen, that does not show on print (Navigational elements, ...) As a workaround, I could use one of the other classes from that css, like "top". This works, but is not a clean solution, since <div class="top"> might in the future inherit other style properties that I would not like to have. This is a one-line addition to the Wikibooks commonPrint.css file, that should take a very short time for the person in charge. Thank you. PS: As a follow-up, there could be a generic class for elements that show up on print, but not on screen (e.g. for correctly placing the title page, etc...). Print and screen CSS is especially important for Wikibooks.
I have, err, "reviewed" this change. The change, remember, is to add the line .noPrint, to the top of this bit in commonPrint.css. div.top, div#column-one, #colophon, .editsection, .toctoggle, .tochidden, div#f-poweredbyico, div#f-copyrightico, li#f-viewcount, li#f-about, li#f-disclaimer { /* Hides all the elements irrelevant for printing */ display: none; }
added class noprint (all lower case) to CVS, will appear online sometime