IE 5.5 Warning: CSS and comment tags

by "Arcady"<arcady(at)jps.net>

 Date:  Mon, 17 Jul 2000 22:48:08 GMT
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Hello;

Had a client 'upgrade' (and I use the term loosely) to IE 5.5 over the weekend
and suddenly all the typography on their site was broken.

It seems that in IE 5.5 you cannot put a comment tag in your .css files that
begins with // like commonly used for javascript comments.
They must instead begin with /* and end with */

so something like:

// this sets up the site's basic typeography

has to become:

/* this sets up the site's basic typography */


Just thought I'd inform people who didn't know this. I've got to revise a few
sites now before IE 5.5 spreads too far...

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