[ZPT] @import?
Joel Burton
joel@joelburton.com
Thu, 7 Mar 2002 13:46:40 -0500 (EST)
On Thu, 7 Mar 2002, alan runyan wrote:
> > <link rel="stylesheet" type="text/css" href="/sample.css"
> > tal:attributes="href string $portal_url/css" />
>
> I am using that for the netscape stuff.
>
> > Or do you need to use an @import (say, to keep NN4 from trying to
> > deal with your CSS?
>
> exactly.
Ok, it's a kludge, but howabout:
<link rel="stylesheet" type="text/css" href="/sample.css"
tal:condition="python: 0" />
<style tal:content="string: @import("$blah/css")" />
This way, Dreamweaver would see the link tag, but it would never actually
be rendered; in the real page, you'd emit a decent <style>@import</style>,
which NN4 is thankfully stupid enough to ignore.
--
Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton
Independent Knowledge Management Consultant