Him I m using this script to detect browsers, but it seems to not to implementing css in opera. So, in browserdetect.js i have this:
{
prop: window.opera,
identity: "Opera"
},
And in my html i have this:
else if (BrowserDetect.browser == "Opera") {
document.write ( <link href="styles/style.css" media="screen" rel="stylesheet" type="text/css" /> );
It seems to be working properly in other browsers, but in Opera it just fails to implement <link href="styles/style.css" media="screen" rel="stylesheet" type="text/css" />
in head part of the page.
Can you suggest what could be the problem? Thank you.