[dokuwiki] CSS handling in print environment?
- From: Reinhold Kainhofer <reinhold@xxxxxxxxxxxxx>
- To: DokuWiki Developer Mailingliste <dokuwiki@xxxxxxxxxxxxx>
- Date: Sun, 27 Aug 2006 13:15:44 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
What is the reason that style.css of the plugins is not included in the style
sheet in print mode? My intuition would say that style.css is always
included, screen.css is included in screen environment and print.css in print
environment.
Currently, each plugin author has to copy everything from style.css to
print.css to get a proper printout. This approach, however defeats the
purpose of cascading style sheets, where you define the basic properties of
the styles in one place, but can override them in subsequent style sheets.
So, I would propose to also include lib/plugins/*/style.css before
lib/plugins/*/print.css, as this enables plugin authors to define the basic
properties only once and then fine-tune them in print.css and screen.css.
Currently, some plugins even take the style.css and copy it over to print.css
if style.css is newer than print.css. This, however, makes it impossible to
get proper printouts as its not possible to fine-tune the print environment.
Or are there any obvious reasons why the css are currently handled this way?
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/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFE8X7jTqjEwhXvPN0RAmTeAJ4ocSY6bwDX70NCM2CXEg5GOkaUqQCgiSYn
aZTAukPfsIndM/hW6lO/vrg=
=nYkR
-----END PGP SIGNATURE-----
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: CSS handling in print environment?
- From: Chris Smith
Other related posts:
- » [dokuwiki] CSS handling in print environment?
- » [dokuwiki] Re: CSS handling in print environment?
- » [dokuwiki] Re: CSS handling in print environment?
- » [dokuwiki] Re: CSS handling in print environment?
- [dokuwiki] Re: CSS handling in print environment?
- From: Chris Smith