Page 1 of 1

XSL style sheet, including CSS

Posted: Thu May 17, 2007 4:20 pm
by jgdoke
We have a company wide style sheet we use. I do not with to duplicate it in the XSL. What is the syntax to include it?? this is how we do it with html.


<link type="text/css" rel="stylesheet" media="screen" href="http://our.server.com/lib/css/rastyles_screen.css">
<link type="text/css" rel="stylesheet" media="print" href="http://our.server.com/lib/css/rastyles_print.css">

The print one just kills the <div>'s for left menu. No need for that one as most do not print the search results..

Thanks
John

XSL style sheet, including CSS

Posted: Thu May 17, 2007 4:48 pm
by jason112
You include CSS in XSL exactly the same as with normal HTML. <link> elements that occur in the XSL are treated just like all other HTML elements like <body>, <p>, etc: outputted directly.

Is this not the behavior you're seeing?

XSL style sheet, including CSS

Posted: Fri May 18, 2007 10:13 am
by jgdoke
Today it works... last night it did not.
Thanks and sorry..

John