[dokuwiki] Re: CSS handling in print environment?

  • From: Reinhold Kainhofer <reinhold@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 28 Aug 2006 00:33:34 +0200

Am Sonntag, 27. August 2006 13:35 schrieb Chris Smith:
> Perhaps the current screen style sheet should really be all.

Right, that's the simple alternative. You can always add environment-specific 
styles for fine-tuning by using the @media statements, like

.someclass { font-weight: bold; }

@media print {
  .someclass { font-size: smaller; }
}
@media screen {
  .someclass { background: #FFFFCC; }
}

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna, Austria
email: reinhold@xxxxxxxxxxxxx, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at
 * K Desktop Environment, http://www.kde.org/, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: