[Zope] Re: Dynamic Zope Style Sheets with HTML 4.01 Strict
Tres Seaver
tseaver at zope.com
Thu Mar 31 18:14:34 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andy Yates wrote:
> Thanks! I've never used dtml for style sheets. I've always used page
> templates and never had a problem 'til now. Also, I don't see a way to
> set the content type on a dtml doc or method.
You can just add the line, 'Content-type: text/css', followed by a blank
line, to the top of the DTML method (yes, I know, that smells funny).
> I assume it would be
> text/html and then I back in the same boat. To restate my problem,
> FireFox in HTML 4.01 Strict mode does not seem to accept a style sheet
> if the content type is text/html. It needs to see text/css. (Of course
> IE is fat dumb and happy) Everything worked fine until I added this doc
> string to my page:
Tres.
- --
===============================================================
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCTIRaGqWXf00rNCgRAhLXAJ983+vJpioFFRfwyiuJIxHe11lJYwCgoJNC
+OUbcLanRDKcYCbFhB69HKM=
=bTey
-----END PGP SIGNATURE-----
More information about the Zope
mailing list