Re: JavaScript-CSS oddity

>While working on some pages where I had added <SPAN> tags merely to
>complement the design for CSS browsers, I started having trouble with the
>lower half of the page being truncated. This was after adding
>document.write (a notoriously buggy function) to the page in order to hide
>some scripted HTML from down level browsers. To make a very long story
>short, I found that removing all <SPAN> tags from the page alleviated the
>problem. The document.write was inside a table cell (yes, I know, I was
>asking for trouble). This is in NN4.02 and NN4.04. It seems SPAN and
>document.write do not mix. I wonder if this is something to do with JSS?

   Oh, probably.  The close binding of style sheets and JavaScript is but
one of many unfathomable design decisions in Navigator, and is no doubt
responsible for a great many of the bugs being reported on this list and
elsewhere (such as comp.infosystems.www.authoring.stylesheets, the
newsgroup for style authors).

--
Eric A. Meyer  -  eam3@po.cwru.edu  -  http://www.cwru.edu/home/eam3.html
  Editor, WebReview's Style Sheets Reference Guide
  http://style.webreview.com/

Received on Tuesday, 3 February 1998 13:39:31 UTC