Outshine
12-02-2004, 06:18 PM
Of course as soon as I ask for help I get it working. For any other rookie's that are wondering how it was done, paste the following code between the <head> tag's:
<script language="JavaScript"><!--
browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;
if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4)) {
document.write("<link REL='stylesheet' HREF='http://www.codingforums.com/archive/index.php/ie.css' TYPE='text/css'>");
}
else if (browser_type == "Netscape" && (browser_version >= 4)) {
document.write("<link REL='stylesheet' HREF='http://www.codingforums.com/archive/index.php/netscape.css' TYPE='text/css'>");
}
// --></script>
I would still be interested to hear if anyone else has experienced problems with netscape and ie's differing interpretations of pixel width/height.
<script language="JavaScript"><!--
browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;
if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4)) {
document.write("<link REL='stylesheet' HREF='http://www.codingforums.com/archive/index.php/ie.css' TYPE='text/css'>");
}
else if (browser_type == "Netscape" && (browser_version >= 4)) {
document.write("<link REL='stylesheet' HREF='http://www.codingforums.com/archive/index.php/netscape.css' TYPE='text/css'>");
}
// --></script>
I would still be interested to hear if anyone else has experienced problems with netscape and ie's differing interpretations of pixel width/height.
