[Zope] Zope and CSS
ed colmar
element@immersivearts.com
Wed, 19 Apr 2000 22:16:02 -0600
You could also try linking your stylesheet as a <dtml-var> instead of
linking it as a URL. like this:
This goes anywhere in the header. I put mine in standard_html_header.
<STYLE TYPE="text/css">
<dtml-if netscape>
<!--
<dtml-var your_netscape_stylesheet>
-->
<dtml-else>
<!--
<dtml-var your_other_stylesheet>
-->
</dtml-if>
</STYLE>
-----
The stylesheets should be regular zope methods with id's:
"your_netscape_stylesheet" , and "your_other_stylesheet".
>I am also sending two different stylesheets depending on the browser (IE
or NS). Don't ask why! :)