Search code examples
cssfirefoxfirefox-3dynamic-css

Pulling in Dynamiclly Generated (not a static file) CSS in FF?


Is there any way of pulling in a CSS stylesheet into FireFox 2 or 3 that is not a static file?

Bellow is the code we are using to pull in a stylesheet dynamically generated by a CGI script.

<link rel="stylesheet" href="/cgi-bin/Xebra?ShowIt&s=LH4X6I2l4fSYwf4pky4k&shw=795430-0&path=customer/DEMO/demo1.css" type="text/css">

/cgi-bin/Xebra?ShowIt&s=LH4X6I2l4fSYwf4pky4k&shw=795430-0&path=customer/DEMO/demo1.css

Note that the URL above that pulls in the CSS does not end with .css rather the parameters do.


Solution

  • Is the Content Type from the server the correct one for the file that is served up?

    Content-type: text/css