How we can add a CSS stylesheet (style.css) to an XSL file so that it works in Internet Explorer?
<head>
<title><xsl:value-of select="bom/header/title"/></title>
<link rel="stylesheet" type="text/css" href="/BOM-Download-portlet/css/styles.css" title="Style"/>
</head>
This is working in Firefox and other modern browsers, but not in IE
IE does tend to cause a problem, so I’ve added exceptions in my .html files like so:
The code as above acts as a script, detecting and changing the settings as required, also, it is in .html comments, so not picked up and attempted to be parsed while loading the page.
Hope this helps