CSS validation

Home Forums Support CSS validation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #109398
    Tara

    Hi Tom

    I’m considering using GeneratePress to redesign my site. The theme description says it’s W3C Markup Validated, so I was disappointed to find that it doesn’t also pass the W3C CSS validation.

    The errors are for asterisks before property names, which I gather is a hack for Internet Explorer 7 and below but uses invalid CSS. For example:

    Parse Error *display: inline;

    Is there anything you could do differently to make your CSS fully valid?

    Thanks

    Tara

    #109401
    Tom
    Lead Developer
    Lead Developer

    Hi Tara,

    I wanted to add that in there for people who want their site to display properly with older versions of IE.

    Having it in there won’t actually affect the performance or your website at all – but it will make your users using old versions of IE happy, as everything will display properly.

    At some point, I will be removing compatibility with IE7, but I’m not sure if it’s time yet.

    Let me know if you have any other questions 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.