CSS Validator gives lots of errors when media="handheld"

I'm sorry I can't give the URL of a site that produces this, since it's
a temporary one and we're currently working on it. When I try to
validate the CSS we have written from scratch with the help of the CSS2
specifications, I recieve lots of strange errors. I'm talking about the
stylesheet for "handheld" media (small.css). The other stylesheets
validate ok.

Some those errors include:

# Line: 0 Context : a:focus
Invalid number : background-color#009 is not a background-color value :
#009

# Line: 0 Context : h1
Invalid number : font-sizelarge is not a font-size value : large

# Line: 0 Context : h2
Invalid number : font-sizelarge is not a font-size value : large

# Line: 0 Context : h3
Invalid number : font-sizemedium is not a font-size value : medium

...

# Line: 0 Context : div.nav h2
Invalid number : borderParse Error - [empty string]

# Line: 0 Context : td , th
Invalid number : borderParse Error - [empty string]

# Line: 0 Context : caption
Invalid number : font-sizesmall is not a font-size value : small


Does this *really* mean that there aren't "font-size: large" or
"border:1px solid black" for handheld media? If for some reason not,
where can I find more information on this? We seriously need a separate
stylesheet for small-screen and pocket-sized computers.

The only major difference between these two is the way they're pointed
to.
   <link rel="stylesheet" type="text/css" href="safelyinrussia.css"
   media="screen, tty, tv, projection, print" />
   <link rel="stylesheet" type="text/css" href="small.css"
   media="handheld" />
--
  Miikka Leskinen
  Fastmail Account

Received on Wednesday, 7 July 2004 01:51:14 UTC