W3C home > Mailing lists > Public > www-validator-css@w3.org > October 2002

font-sizeParse Error - :

From: <sutter@ecology.at>
Date: Thu, 24 Oct 2002 13:10:56 +0200
To: www-validator-css@w3.org
Message-ID: <3DB7F160.15928.C70E71F@localhost>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:49 UTC