W3C home > Mailing lists > Public > www-style@w3.org > October 1996

<-- use or not ???

From: <webman@netroute.net>
Date: Wed, 16 Oct 1996 12:57:05 -0400 (EDT)
Message-Id: <199610161657.MAA16699@orion.netroute.net>
To: 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>


It wont work.  take out the  <!--  &   -->  and it works.


Any Ideas???

Rob.
                            
  "It doesn't matter how slowly you go, so long as you don't stop."
                                               -Confucius-
--------------------------
|     e-mail if  you     |
|have any HTML questions |   webman@cwebdev.com   
|        - TO -          |    
|   CRYSTAL WEB DESIGNS  |   www.cwebdev.com 
--------------------------                     
Received on Wednesday, 16 October 1996 12:54:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:45 GMT