[Prev][Next][Index][Thread]

<-- use or not ???



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 
--------------------------                     


Follow-Ups: