Archived topic
style.css does not validate
2 replies · Started by Anonymous on January 16, 2015
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
I forgot to ask my actual question. :-)
can I simply delete these offending lines or will it break my site for some browsers?
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 :)