S
Steve
Hi Everyone:
I am using the following java script to select a linked stylesheet depending
on resolutions:
<script language="Javascript">
if (screen.width <= 800) {document.write("<link rel=stylesheet type=text/css
href=library/contentStyle.css>"); }
else {document.write("<link rel=stylesheet type=text/css
href=library/contentStyle1.css>");}
</script>This is working well in IE, however, it appears to be failing in
Netscape. Any ideas would be very much appreciated.Steve G
I am using the following java script to select a linked stylesheet depending
on resolutions:
<script language="Javascript">
if (screen.width <= 800) {document.write("<link rel=stylesheet type=text/css
href=library/contentStyle.css>"); }
else {document.write("<link rel=stylesheet type=text/css
href=library/contentStyle1.css>");}
</script>This is working well in IE, however, it appears to be failing in
Netscape. Any ideas would be very much appreciated.Steve G