[Zope] External CSS via ZPTs
Sat, 29 Jun 2002 14:09:17 -0700 (PDT)
> In my case, I just made the external style sheet a DTML method, with
> nothing but the stylesheet content itself. No setheader commands or
> anything. It's worked so far, but might not be the absolute best
I do similar, but put my external style sheet content in DTML documents
instead of methods (seems like the most 'generic' container for static
HTML/CSS content...or should I use a File object instead?).
I link them as in normal HTML, but the links are in ZPTs instead of
DTML docs/methods, like:
<title tal:content="template/title">Title Of Page</title>
<LINK REL=StyleSheet HREF="onestylesheet.css" TYPE="text/css">
Haven't grasped the purpose to the setheader commands - what fancy
stuff can one do with them?
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup