Error message I can't understand

Dear Sirs,

I've just validated a CSS file using your online service via a text area in
a form (http://jigsaw.w3.org/css-validator/validator-text.html).

It gave the following error message on CSS 1, which I don't understand:
Errors
URI : <file://localhost/TextArea>
*	Line: 26 Context : .filler 
		Parse Error - li 
*	Line: 26 Context : .filler 
		Parse Error - [empty string] 

The line in question is:
.filler { font-size: 3px; line-height: 3px; }	which looks OK to me.

A previous attempt cause the validator to complain that I'd forgotten to
supply a unit of measure for font-size.  I completel yre-typed the line in
case there was a corrupt character somewhere in it and the validator gave
the error message above .

When I tried other CSS files I again messages about missing unit
specifications although the lines contained specifications in px, e.g. for
the border-width of BODY.

Can you explain this, please.

I enclose the complete CSS file below.

Thanks,

	Philip Chalmers


/*
main.css  -  Style sheet for Content frame (right 80% of screen) 
Copyright 2001 Philip Chalmers
web site www.benefit-from-it.co.uk
*/

/* FONTS */
BODY, P, H1, H2, H3, OL, UL, LI, TD, .regular, BLOCKQUOTE
   { font-family: "Verdana", "Helvetica", sans-serif; } 

/* COLOURS */
BODY, P, OL, UL, LI, TD, .regular, BLOCKQUOTE { color: black; }
H1, H2, H3 { color: #114411; }
BODY { background-color: #ffffcc; }
/*
BODY { background-color: #ffffcc; }
BODY { background-color: #ffff99; }
*/
/*
BODY { background-color: white; background-image:
url(../pictures/marble_grey03.gif); }
*/
/* For "Benefit" anywhere we want to brand it, incl in text. */
.logo1, .logo1-t { font-weight: bold; color: blue; font-size:100%; 
                  font-family: "Verdana", "Helvetica",sans-serif; }
/*
.logo1, .logo1-t { font-weight: bolder; color: #0066ff; font-size:100%; 
                  font-family: "Verdana", "Helvetica",sans-serif; }
*/
/* For "IT" anywhere we want to brand it, incl in text. */
.logo2, .logo2-t { font-weight: bolder; color: #0000cc; font-size:100%; 
                  font-family: "Verdana", "Helvetica",sans-serif; }
/*
.logo2, .logo2-t { font-weight: bolder; color: blue; font-size:100%; 
                  font-family: "Verdana", "Helvetica",sans-serif; }
*/
/* WEIGHTS */
H1, H2, H3, .tablec1 { font-weight: bold }

/* SIZES */
P, UL, OL, LI, BODY, TD, .regular, H3 { font-size: 13px; line-height:17px }
.filler { font-size: 3px; line-height: 3px; }               /* This line is
the one referred to in the error message *********************************/
H1 { font-size:19px; }
H2 { font-size:15.6px; }
/*
P, LI, BODY, TD, .regular
   { font-size: 80%; }
*/
P.smaller { font-size: smaller }
/* MARGINS & SPACING */ 
BODY { margin-top: 0.0px; margin-bottom: 0px; margin-left: 15px;
margin-right: 15px;}
P, FORM, H3 { margin-top: 5px; margin-right:0px; margin-bottom: 1px; 
      margin-left: 0px }
/*
P, FORM { margin-top:7.0pt; margin-right:0cm; margin-bottom:0.0001pt; 
      margin-left:0cm}
*/
H1 { margin-top:13.0px; margin-right: 0px; margin-bottom: 1px; 
      margin-left:0px; }
H2 { margin-top: 9px; margin-right:0px; margin-bottom: 1px; 
      margin-left: 0px; }
BLOCKQUOTE { margin-top: 13pt; margin-right: 30px; margin-bottom: 1px; 
      margin-left: 30px; }
/*
H1 { margin-top:9.0pt; margin-right:0cm; margin-bottom:0.0001pt; 
      margin-left:0cm }
H2 { margin-top:8.0pt; margin-right:0cm; margin-bottom:0.0001pt; 
      margin-left:0cm}
BLOCKQUOTE { margin-top:7pt; margin-right: 20pt; margin-bottom:0.0001pt; 
      margin-left: 20pt; }
*/
/* Page-header H1 */
H1.pghdr { padding: 7px; padding-left: 15px; margin: 0px -15px 10px -15px;
line-height: 25px; background-color: #008800; color: #ffff99}
/*
H1.pghdr { padding: 7px; padding-left: 15px; margin: 0px -15px 10px -15px;
line-height: 25px; background-color: #008800; color: #ffff99}
.phgdr-tbl { left: -15px; width: 100%; padding: 7px; padding-left: 15px;
margin: 0px -15px 10px -15px; line-height: 25px; background-color: #447744;
color: #ffff99 }
.pghdr-td { padding: 7px; padding-left: 15px; margin: 0px -15px 10px -15px;
line-height: 25px; font-size: 19px; font-weight: bold; background-color:
#447744; color: #ffff99 }
.pghdr-div { position: absolute; left: -15px; margin: 0px -45px 10px 15px;
width: 100%; padding: 7px; padding-left: 15px; line-height: 25px; font-size:
19px; font-weight: bold; background-color: #447744; color: #ffff99 }
*/
/*
H1.pghdr { padding: 7px; padding-left: 15px; margin: 0px -15px 10px -15px;
line-height: 25px; background-color: #336633; color: #ffff99}
*/
/* BRANDING */
/* For "Benefit" in page headers. */
.logo1-h
   { font-weight: bolder; color: #ffff99; font-size: 19px; line-height:
25px;  
     font-family: "Verdana", "Helvetica",sans-serif; }
/* For "IT" anywhere we want to brand it, incl in text. */
.logo2-h 
   { font-weight: bolder; color: #ffffcc; font-size: 19px; line-height:
25px; 
     font-family: "Verdana", "Helvetica",sans-serif; }

/* LISTS */	  
OL , UL 
   { margin-top:0px; margin-bottom:0px; margin-left:13px }
LI { list-style:disc; margin-top:0.7pt; margin-bottom:0.8pt;
margin-left:0.1cm; }
/*
OL , UL 
   { margin-top:0pt; margin-bottom:0cm; margin-left:0.4cm }
LI { list-style:disc; margin-top:0.7pt; margin-bottom:0.8pt;
margin-left:0.1cm}
*/
LI.list2 {list-style: circle; }

/* Page-header DIV */
.pghdr { padding: 0pt; margin-top: 7px; font-size: 19px; line-height: 25px;
font-weight: bold; color: #0000aa; }

/* Navbars */
.navbar1text
   { 
      font-size: 8pt; font-weight: normal; color: blue; 
      font-family: "Verdana", "Helvetica", sans-serif;
   }
IMG.navbar-img /* , IMG.link_w_text, IMG.menubar1_img */
   { border:none; display: inline; } 
/*
IMG.navbar1_img
   { float: left; border: none; }
*/

/* LINKS */
/*
A, A.page-intro  {text-decoration: underline}
*/
/*
A, A.page-intro  {text-decoration: none}
*/
A:link {color: blue; text-decoration: underline; background-color:
transparent; }
A:active {color: blue; }
A:visited {color: purple; text-decoration: underline; }
A:hover {color: red; background-color: #ffff99; text-decoration: underline;
}
/* LINKS IN TABLES*/
A.table {text-decoration: none}
A.table:link {color: blue}
A.table:active {color: green}
A.table:visited {color: purple}
A.table:hover {color: red; background-color: yellow; }

/* "NEXT PAGE" LINK IN USABILITY TUTORIAL */
A.nextpage { background-color: #eeeeee; }
SPAN.nextpage { background-color: #eeeeee; font-weight: bold}
/*
A.nextpage { background-color: #ebf0ff; }
SPAN.nextpage { background-color: #ebf0ff; font-weight: bold}
*/
/* "BUTTONS", e.g. "expand all" / "collapse all" */
.button { border-color: gray; border-width: 2px; border-style: outset; 
            background-color: #447744; color: yellow; vertical-align:
bottom; text-align: center } 
/*
.button { border-color: white; border-width: 2px; border-style: outset; 
            background-color: #cccccc; vertical-align: bottom; text-align:
center } 
*/
/* Links in "buttons" */
A.buttonlink {text-decoration: none; background-color: transparent; 
              font-family : "Helvetica", "Arial", "MS Sans Serif",
sans-serif;
          	  font-size: 9pt; font-weight: bold; color: #444444; }
A.buttonlink:active {color: #444444; }
A.buttonlink:visited {color: #444444; }
A.buttonlink:hover {color: black; background-color: transparent; }

.inset { border-color: white; border-width: 2px; border-style: inset; }

.hdr-thick-line { width: 97%; color: blue; background-color: #336633;
height: 2px; line-height: 2px; margin: 0px; padding: 0px; text-align: left;
border: 0px; visibility: visible; position: absolute; left: 0px}

.thickline { width: 97%; background-color: #336633; height: 2px; margin:
2px, 0px; padding: 0px;
             line-height: 2px; font-size: 2px; color: 336633; text-align:
left; display: block; }
.thinline  { width: 97%; color: green; background-color: #669966; height:
2px; margin: 0px; padding: 0px;
             line-height: 2px; font-size: 2px; text-align: left; display:
block; }
.spacer    { height: 2px; margin: 0px; padding: 0px;
             line-height: 1px; font-size: 1px; }
/* DIVs */
DIV.se-optim { position:relative; color: black; width: 100%; height: 1px;
z-index: 1; visibility: visible; display: none}
/*
DIV.se-optim { position:absolute; color: #fcfcfc; width:100%; z-index: 1;
left: 15px; top: 0px; visibility: visible; }
*/
DIV.main-cont { position:absolute; width:100%; z-index: 2; background-color:
white; left: 15px; top: 0px; visibility: visible }
DIV.page-intro { position:absolute; width:100%; z-index: 2; left: 10px; top:
40px; visibility: visible; display: inline }
IFRAME.noscript { margin: 0px; margin-left: -15px }

Received on Wednesday, 13 March 2002 16:55:41 UTC