On Wed, 2003-12-10 at 03:45, Tony Lee wrote:

> > |> One way to go (which we used at some point), is to
> > |> write all css in a page content. This way you could
> > |> call it with URL "/style.css" and all you need to do
> > |> is to create a page called "style.css" under root page.
> > |
> > | I can't seem to get this to work properly.
> >
> > Damn, I forgot... this used to work until Midgard 1.5.0...
> > We hit the wall with this issue at one of our clients
> > after they upgraded to 1.5.0.

What exactly does not work? I have no problem with keeping the CSS code
outside the HTML code.
I created an empty Page "style.css", with the following code-init:

- - - - 8< - - - - 
<?

header("Cache-Control : public max-age=86400");
header("Expires: " . gmdate("D, d M Y H:i:s", (time() + 86400)) . " GMT");
header("Accept-Ranges: none");
header("Content-type: text/css");
?><[css]><?
exit();

?>
- - - - 8< - - - - 

Where "css" is the name of the CSS Style element.

        Nico.

-- 
Nico Kaiser     :: 
[EMAIL PROTECTED] :: http://siriux.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to