Corrected(?) default.css

   Well, I got it to stop crashing.  However, my method for doing so isn't
very CSS-friendly, and I certainly don't recommend that this be used
instead of the file you have now.  How did I fix it?  I added STYLE tags at
the beginning and end of 'default.css'.
   The odd part is that I've set up external stylesheets before, and loaded
them into MSIE4/Mac without incident.  Without adding those STYLE tags,
even making 'default.css' as simple as BODY {color:black;} made it crash.
I don't understand this at all.  Not only that, but throwing the style tags
didn't fix everything.  The background and font-family for BODY don't get
set, for example.  Maybe all this will be fixed in the final release of
MSIE...?  Anyone on the list and in the know care to comment?
   For reference, here's my corrected 'default.css'.  I removed the
comments, tightened up the white space, and added semicolons everywhere I
thought they might need to go.  At one point I eliminated those selectors
which seemed like they might be a skoosh too long (i.e.
"div.deprecated-example p").  None of this fixed the crashing problem.
Only the addition of the STYLE tags seemed to have that power.
==============================================================================
<STYLE type="text/css">

  BODY {color: black;
    background: white;
    font-family: sans-serif;
    margin: 2em;}

  H1 {clear: left;
    margin-top: 2em;
    font-size: x-large;
    padding: 0.5em;
    color: white;
    background-color: black;
    text-align: center;}

  PRE {font-family: monospace;}

  IMG {border: 0;}

  TH {align: left;}


  A.propdef-title {background-color: yellow;}

  A.descdef-title {color: yellow;
    background-color: green;}

div.example { color: maroon;}
pre.example { color: maroon;}
tt.example { color: maroon; margin-left: 1em;}
pre.dtd { color: black; margin-left: 0;}
div.illegal-example { color: red;}
div.illegal-example p { color: black;}
div.deprecated-example { color: red;}
div.deprecated-example p { color: black;}
div.note { color: green; margin-left: 1em;}
p.note { color: green; margin-left: 1em;}
</STYLE>
==============================================================================

   Maybe someone with greater expertise than I can diagnose the actual
problem.  Meanwhile, I'll settle for my rude hack and get on with life, I
guess, even though it frustrates me that I can't figure this out.

--
Eric A. Meyer  -  eam3@po.cwru.edu  -  http://www.cwru.edu/home/eam3.html
 Hypermedia Systems Manager
 Digital Media Services                http://www.cwru.edu/dms/dms.html
 Case Western Reserve University       http://www.cwru.edu/

Received on Tuesday, 4 November 1997 16:26:19 UTC