2005/10/10, Samuel Souk-aloun <[EMAIL PROTECTED]>: > I can confirm the problem, the stylesheet is not rendered from localfs > with firefox > > the problem is caused by an incorect http header "text/plain" instead of > "text/css" > I've tried to add a type_map to the LocalFS but the content-type does > not change > so, for me, it is clearly a LocalFS issue > > anyone knows how to hardcode this content-type in LocalFS.py ?
How about setting the content-type in the stylesheet file? That's what I always do. <dtml-call "RESPONSE.setHeader('Content-Type','text/css')"> -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com _______________________________________________ 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 )