Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Dec 2005
    Location
    Ohio
    Posts
    286
    Thanks
    7
    Thanked 9 Times in 9 Posts

    Cannot find validation error

    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:
    Code:
    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 and main.css. Please, can anyone tell me where my error lies?

    Many thanks!

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,700
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    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;.

  • #3
    Regular Coder
    Join Date
    Dec 2005
    Location
    Ohio
    Posts
    286
    Thanks
    7
    Thanked 9 Times in 9 Posts
    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...

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Both stylesheets seem to validate. Did you fix the problem?
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Regular Coder
    Join Date
    Dec 2005
    Location
    Ohio
    Posts
    286
    Thanks
    7
    Thanked 9 Times in 9 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •