...

View Full Version : Cannot find validation error



kaitco
08-07-2007, 07:53 PM
I tried to validate my CSS and receive this error:


URI : http://www.doriennesmith.com/
61 Value Error : font Parse Error - [empty string]

I think this is usually the error received if the property "font" is used for a single value, eg:
font: bold; However, I have checked both of the style sheets on the page and neither contains the error.

Here are the style sheets: home.css (http://www.doriennesmith.com/home.css) and main.css (http://www.doriennesmith.com/main.css). Please, can anyone tell me where my error lies?

Many thanks!

VIPStephan
08-07-2007, 08:07 PM
The font shortcut property must have at least the font family and one of the other values (font size, style, etc.), I believe. You canít just say font: bold;, you have to say at least font: bold Arial, Helvetica, Sans-serif;.

kaitco
08-07-2007, 08:24 PM
I know and I have checked and re-checked both style sheets and I do not do that anywhere, so I cannot see why I am still having the error...

_Aerospace_Eng_
08-08-2007, 12:51 AM
Both stylesheets seem to validate. Did you fix the problem?

kaitco
08-08-2007, 01:28 AM
I found the issue. It was not in the style sheet but on a single inline styled tag on the index page. The error only shows up when I put the site uri into the CSS validator. Thanks anyways.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum