font-sizeParse Error - :

the css-validator givs me the error:

    * Line: 11 Context : body  

      Invalid number : font-sizeParse Error - :

In my document I added the font-size by php: i.e.
body {font-size:<? echo $font_size; ?>}

when the server parse the document it becomes: i.e.
body {font-size:small}

so the browser gets a document like:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta name="description" content="test">
<style type="text/css">
body {font-size:small}

what is wrong?


thanks for any hint in advance?

Received on Thursday, 24 October 2002 05:19:44 UTC