Netscape problem

  • Thread starter Thread starter Steve
  • Start date Start date
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
 
Don't bother. My screen will test at 1280x1024, but my browser viewport is
seldom wider than 750px or so. You would serve me the wrong stylesheet as a
result. This means that you are trying to use a bludgeon rather than some
finesse to solve a problem.

Why not tell me what your problem is, and I'll try to help you.
 
Back
Top