- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Thu, 24 Oct 2002 12:02:15 +0200
- To: sutter@ecology.at
- Cc: www-validator-css@w3.org
* sutter@ecology.at wrote: >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 What the CSS Validator gets is e.g. td {font-size: ;} p {font-size: ;} Seems like your PHP script produces different output for the Validator.
Received on Thursday, 24 October 2002 06:02:08 UTC