- From: <dseibert@sqwest.bc.ca>
 - Date: Wed, 16 Oct 1996 10:13:23 -0700 (PDT)
 - To: webman@netroute.net
 - Cc: www-style@w3.org
 
> 
> I was recently writing a style sheet, I noticed it wasn't working.  When I
> took the <-- out it worked.
> 
> 
> How do I hide the css (from old browsers) while still being able to use it
> with css compliant browsers.
> 
> Am I missing something here?
> 
> <style type="text/css">
> <--
> body   {  background:grey;
>           color:blue
>    }
> 
> P  {  color:blue;
>       font:18px, Impact
>    } 
> 
>       /* etc */
> -->
> </style>
Yes, you're missing something - SGML comment declarations begin with
<!--, not <--.  If you add the exlamation point your stylesheet should
work.
David
Received on Wednesday, 16 October 1996 13:15:04 UTC