Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] style.css does not validate

Home Forums Support style.css does not validate

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #65792
    Joachim

    I’m a css noob so maybe I’m totally on the wrong track but there seem to be quite a couple of errors in the style.css.

    line 281: Parse Error *display: inline;

    it seems many times instead of commenting out using /* */ only “*” was used leading to incorrect markup reported by http://jigsaw.w3.org/css-validator/

    cheers

    #65795
    Joachim

    I forgot to ask my actual question. 🙂
    can I simply delete these offending lines or will it break my site for some browsers?

    #65911
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I would leave it – having a star in front of it makes it so only IE7 and below read the CSS.

    If you remove it, your site may behave differently on IE7.

    Having it there won’t slow down your site in any way – modern browsers simply don’t read it.

    Hope this helps 🙂

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