Re: why oh why, does my netscape crash?

by Peter-Paul Koch <ppk(at)xs4all.nl>

 Date:  Fri, 10 Mar 2000 09:50:40 +0100
 To:  dan(at)odlra.com,
hwg-languages(at)hwg.org
  todo: View Thread, Original
>I'm just wondering if anyone has any idea why a script that I've been
working on would keep crashing Netscape 4.x?
>
>It's performing an illegal operation at the netscape.exe file itself.

Ahhh...sounds familiar. I don't think it's the script, but rather something
in the style sheet.

><TR>
 <TD>
  <DIV ID="aboutbox">
    <P>text</P>
    <P>text</P>
    <P>and more text</P>
  </DIV>
 </TD>
</TR>
>
>works FINE, but as soon as i put a class identifier in the <TD>, I get
the illegal operation.

What style sheet does this class have? Any border declarations in it? I
found out through painful trial and error that border declarations in a
style sheet are a (but by no means the only) cause of crashes in Netscape.

However, Netscape generally lets you get away with just a few borders. It's
only when you start using 7 instances of this class and 10 instances of
that class, all with borders, that Netscape starts crashing. In addition,
Netscape on Win95/98 seems to be more vulnerable than Netscape on WinNT.

Another solution might be simply removing the table completely. I don't
really see why you need it, except for positioning the content, which can
also be safely done with style sheets. Maybe it's the table that messes up
everything.  But then, maybe not.

Then maybe, just maybe, it's the 'margin: 0'. I'd remove it and see if it
helps.

If you need more help I have to view the buggy page (the one that crashes).

ppk

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA