Fridolin Posted April 17, 2005 Posted April 17, 2005 Hi! I'm new to XML but trying out FM Site Assistant and it works OK. Does anyone know the correct syntax for linking a CSS file to a XSL file? Tried both LINK href="mystyle.css" rel="style sheet" type="text/css" and ?xml-stylesheet href="mystyle.css" type="text/css"? without luck. Read on W3C that the latter could be placed anywhere in the prolouge but nope. And I tried putting the CSS file in both the web root and in the xsls-template folder (what is correct?). Regards!
Martin Brändle Posted April 18, 2005 Posted April 18, 2005 Put your CSS in your web root folder or in a subfolder of it, as you should do with all static files. Because the XSLT stylesheet is called with a URL like "/fmi/xsl/something.xsl", the link to the CSS should be then: <link rel="stylesheet" type="text/css" href="/mystyle.css"/> As always, place this tag somewhere between <head> and </head>
Recommended Posts
This topic is 7158 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now