Chris Heilmann wrote:
>Yes it is, the problem was that not all the pages the SSI will be included
>in will have a stylesheet associated with it (or different ones) and if
>there is an option to include the stylesheet at the end of the document,
>which results in invalid code.
There is one other way I can think of, but I'm unsure about the
implementation status of this. I know that Mozilla supports it, but I
don't know about other browsers.
You could configure the server to send a "Link" header with the HTTP
response. This header was specified in the HTTP/1.1 draft RFC2068, but
removed from the final specification RFC2616. User agents might still
implement it, though.
The header works exactly like a HTML <link> element and looks like this:
Link: href="styles/footer.css"; rel="stylesheet"; type="text/css";
If you can configure the server to send this header along with every SSI
file then you'd have valid HTML, no additional includes and the
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/