Additional valid CSS?

Greetings,

First, thanks very much for the service. 

Second, I'm a little confused by the report, which reads
(for an uploaded file):


-------------------------------------
No error or warning found

To work as intended, your CSS style sheet needs a correct 
document parse tree. This means you should use valid HTML.

Valid CSS informations
body {
margin : 5px; 
padding : 0; 
color : black; 
background : white; 
font-family : "new century schoolbook", serif; 
font-size : 14px; 
} 
h1 , h2 , h3 , h4 {
font-family : "comic sans MS", arial, helvetica, sans-serif; 
line-height : 120%; 
} 
h1 {
font-size : 20px; 
} 
-------------------------------------


Questions:

1. Is "No error or warning found" the best I can hope for?
   [The parallel html validator is a bit more enthusiastic ;) ]


2. There is rather more css info than shown (see below).
   Why does that material not appear?


3. My css (below) works fine with IE5, and seems valid
   based on your tests, but current Mozilla and Netscape 
   fail to recognize horizontal padding. Is that normal?


Thanks for your help!

Regards,


William BC Crandall
Wiesbaden   Germany
crandall@wiesbaden.vistec.net



The css file I'm uploading:

-------------------------------------------
  /* Tests: IE5: OK; Netscape and Mozilla: readable but padding wrong. */

  /* frame, text, other */
  /* top, right, bottom, left */
  /* margin (trans), border, padding, content */

  body {
  margin:              5px 5px 5px 5px;
  padding:             0;
  color:               black;
  background:          white;
  font-family:         "new century schoolbook", serif ;
  font-size:           14px;
  }
  
  h1, h2, h3, h4 {
  font-family:         "comic sans MS", arial, helvetica, sans-serif;
  line-height:         120%
  }
  h1 {
  font-size:           20px;
  }
  h1.docTitle {
  margin:              90px, 0px, 0px, 0px;
  font-size:           30px;
  text-align:          center;
  }
  h2 {
  font-size:           16px;
  }
  .subtitle {
  font-size:           70%;
  }
  .date {
  font-size:           50%;
  }
  .red {
  color:               red;
  }

  #level-0 {
  border:              1px solid black;
  color:               black;
  background:          #00FFFF;
  }
  #level-1 {
  margin:              10px, 10px, 10px, 10px;
  padding:             10px, 10px, 10px, 10px;
  color:               black;
  background:          #FFF;
  line-height:         130% ;
  }
  #first-page {
  margin:              0px, 0px, 5px, 0px;
  border:              1px solid black;
  padding:             5px, 5px, 5px, 5px;
  font-family:         "new century schoolbook", serif ;
  }
  #abstract {
  margin:              50px, 50px, 10px, 50px;
  border:              2px solid red;
  padding:             5px, 30px, 5px, 30px;
  line-height:         110%;
  text-align:          justify;  
  }
  #address {
  margin:              50px, 0px, 30px, 0px;
  font-family:         "comic sans MS", arial, helvetica, sans-serif;
  line-height:         120% ;
  text-align:          center;  
  }
  #name-co {
  font:                150%, bold;
  }
  #contact {
  margin:              0px, 0px, 20px, 0px;
  text-align:          center;
  }
  #following-pages     {
  font-family:         "new century schoolbook",  serif ;
  text-align:          justify;
  }
  
  p.graph              {
  padding:             20px 0px 30px 30px;
  }

  ul.square            {
  list-style-type:     square 
  }

  .page-break          {
  @page                {
  width:               auto;
  height:              auto;
  page-break-before:   always;
  }

  table.results        {
  margin:              20px, 50px, 20px, 50px;
  buffer:              20px, 20px, 20px, 20px;
  border:              2px solid black;
  background:          #bfffff ;
  font-family:         arial, helvetica;
  border-collapse:     collapse;
  }
  table.results thead {
  background:          yellow;
  vertical-align:      baseline;
  }
  table.results th     {
  border:              1px solid black;
  text-align:          center;
  }
  table.results tr     {
  border:              1px solid black;
  vertical-align:      middle;
  text-align:          right;
  }
  table.results td     {
  border:              1px solid black;
  }

  table.checks         {
  margin:              20px, 0px, 20px, 0px;
  buffer:              20px, 0px, 20px, 20px;
  border:              0px solid black;
  border-collapse:     collapse;
  float:               right;
  }
  table.checks tr      {
  vertical-align:      bottom;
  }
  table.checks td      {
  border:              0px solid black;
  padding:             10px, 5px, 10px, 5px;
  text-align:          right;
  }

  .no-float            {
  clear:               both;
  }

  .end-notes           {
  font-size:           80%
  }
  
  /* eof */


-------------------------------------------------

Received on Wednesday, 13 March 2002 17:02:56 UTC