
ct at gocept
May 25, 2009, 11:26 PM
Post #3 of 3
(349 views)
Permalink
|
|
Re: How to include a <style media="print"....> CSS file?
[In reply to]
|
|
On Mon, 2009-05-25 at 15:48 +0200, Hermann Himmelbauer wrote: > Hi, > > [...] > > What I'd like to have now is to include some other CSS-file with > media="print". > The zc.resourcelibrary code seems not to be able to handle this, so I'm > curious how to do this: > > 1) Simply write this directly into my page template > 2) Hack zc.resourcelibrary, e.g. add a ZCML-directive "media" > 3) Use some other package I'm unaware of > > Any suggestions? 4) Just have it included as is and add the following section: @media print { @import url (print.css); } -- Christian Theune · ct[at]gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1 Zope and Plone consulting and development
|