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">
<html>
<head>
<title>test</title>
<meta name="description" content="test">
<style type="text/css">
 <!--
body {font-size:small}
 -->
</style>
</head>
<body>
</body> 

what is wrong?

example: http://www.sisa.at/index.htm

thanks for any hint in advance?
philipp

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