W3C home > Mailing lists > Public > www-style@w3.org > February 1998

Re: JavaScript-CSS oddity

From: Eric A. Meyer <emeyer@sr71.lit.cwru.edu>
Date: Tue, 3 Feb 1998 13:38:34 -0500
Message-Id: <v03102810b0fd143b25ae@[129.22.138.152]>
To: www-style@w3.org
>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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:54 GMT