John Huttley wrote:
Hi, What is the best way of handling CSS? I've looked at ZStylesheets, but it is buggy and uses depreciated functions that will not be available in 2.10.
I recommend a DTML Document as an upgrade to File objects. If you use DTML you can a) easily set some custom cache headers in the css b) refer to images by a dynamic URL to the imagefolder. * * example: #body { background:#fff url(<dtml-var images url>/bg.png); }
All advice welcome, --John
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com