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@[]>
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
Received on Tuesday, 3 February 1998 13:39:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:46 UTC