Title: New rules for CSS validation?!
Last modified: August 18, 2016

---

# New rules for CSS validation?!

 *  [resist](https://wordpress.org/support/users/resist/)
 * (@resist)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/)
 * Have they changed the rules for CSS validation? Because a few days ago my Blix’s
   CSS was absolutely fine according to [http://jigsaw.w3.org/css-validator](http://jigsaw.w3.org/css-validator)
   but now it shows 2 errors and hell knows how many warnings. Anyone with similar
   problems?
 * P.s and No, I did not do anything to the css file. =)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/new-rules-for-css-validation/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/new-rules-for-css-validation/page/2/?output_format=md)

 *  [ment0r](https://wordpress.org/support/users/ment0r/)
 * (@ment0r)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262588)
 * no. never had that. only really weird thing happend to me by playing around wit
   the doctype. i guess it’s your document type (maybe changed recently?).
 * did you validate by refer, upload or copy/paste? if some new plugin added inline
   css to your site it might be that css code and not the theme-css (blix).
 * a url to your css and preferbly your website would help.
 *  Thread Starter [resist](https://wordpress.org/support/users/resist/)
 * (@resist)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262590)
 * thatâ€™s the point I havenâ€™t changed anything, and did not edit the css file
   either, no new plugins for the last 2 months, and Iâ€™m using wordpress’ default
   text editor.
 *  [brittanie](https://wordpress.org/support/users/brittanie/)
 * (@brittanie)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262591)
 * I have had this problem too. In the past few days my site has gone from valid
   with one error to valid with, like, 45 errors, and I haven’t changed a thing.
 *  Thread Starter [resist](https://wordpress.org/support/users/resist/)
 * (@resist)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262592)
 * BTW Mentor, have you cheked this [http://jigsaw.w3.org/css-validator/validator?uri=http://www.m3nt0r.de/blog/](http://jigsaw.w3.org/css-validator/validator?uri=http://www.m3nt0r.de/blog/)?
 *  [ment0r](https://wordpress.org/support/users/ment0r/)
 * (@ment0r)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262593)
 * yes, but cant be bothered to fix, heh. ^^ this gettin outta hand. but i have 
   no problems with any browser, so i’m happy. the -moz stuff is of course a css
   hack, and hacks are never valid, but if i want my page to look like it does theres
   no way around.. or maybe is. dunno. im happy with the page actually, but thanks
   for the input. in some silent moment i will try to fix them all 🙂 at least the
   xhtml is valid and that counts most to me. took me some time to make all plugins
   valid.
 *  [jennmiller](https://wordpress.org/support/users/jennmiller/)
 * (@jennmiller)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262594)
 * Something has definitely changed. Mine was fine no more than a week ago and now
   it’s telling me I need a background color for every little thing. Pfft.
 *  [ment0r](https://wordpress.org/support/users/ment0r/)
 * (@ment0r)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262595)
 * true. i was wondering about the validation result of mine too. wants a color 
   everywhere.. thats not smart in my eyes. i dont see the problem why color attributes
   cant be inherit (as they was?). relative items should normally (as they still
   do) adopt the background-color property.
 *  Thread Starter [resist](https://wordpress.org/support/users/resist/)
 * (@resist)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262596)
 * thats right, but even more – mine was absolutely fine a few DAYS ago, still xhtml
   valid, no problems with rss, but css says the same thing – background color and
   2 errors that are not really errors, as far as know css my .css is perfectly 
   fine. Thus, WTH?
 *  [ment0r](https://wordpress.org/support/users/ment0r/)
 * (@ment0r)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262600)
 * about that background/foreground color thing:
 * Thats a pure notice. The validator cannot know if the css would be valid combined
   with the structure of document (thus the mentioned items get their (missing) 
   background and color attributes from styled parent items).
 * in plain css, it looks wrong to the validator. in action (live) it’s all o.k.
   i think this can be safely ignored.
 * Edit: you can stop him warning by adding “background-color: transparent;” to 
   all elements named.
 * Edit2: this idea on how to stop the warnings: its not 100% save.. it depends 
   on how your document is made. also you will loose redundancy. imagine the needed
   effort if you wanna change colors later… i go for ignoring..
 *  Thread Starter [resist](https://wordpress.org/support/users/resist/)
 * (@resist)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262612)
 * well, maybe it’s a problem on there side? Whats the reason for this change?
 * Heh, this is crazy [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwordpress.org%2Fdevelopment%2F&usermedium=all](http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwordpress.org%2Fdevelopment%2F&usermedium=all)
   wth are they doing? Whats the reason to use their stupid validator if there is
   no website on the net that would be valid by such means. Mist.
 *  [Michael Bishop](https://wordpress.org/support/users/miklb/)
 * (@miklb)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262621)
 * I’ve recently done a theme, and do not have a background color declared for everything
   and it validates just fine.
 * Main thing I see is it’s not accepting the -moz-radius attributes.
 *  Thread Starter [resist](https://wordpress.org/support/users/resist/)
 * (@resist)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-262712)
 * mine has 2 errors with
    Invalid number : line-height Parse Error – [empty string]
 *  Thread Starter [resist](https://wordpress.org/support/users/resist/)
 * (@resist)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-263117)
 * looks like no one cares about the new rules. I’ve deleted the link to css validation
   from my site, and now Iâ€™m happy heh
 *  [Karel](https://wordpress.org/support/users/karel/)
 * (@karel)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-263118)
 * Just don’t validate for all warnings, only: most important.
 * Regards,
 * Karel
 *  [Cyndy Otty](https://wordpress.org/support/users/ceo/)
 * (@ceo)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/#post-263119)
 * Well, it should be noted a ‘warning’ is not an error. It’s just telling you that
   strictly speaking, you aren’t following the defined rules of CSS – i.e. defining
   color and background-color.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/new-rules-for-css-validation/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/new-rules-for-css-validation/page/2/?output_format=md)

The topic ‘New rules for CSS validation?!’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 16 replies
 * 8 participants
 * Last reply from: [Les Bessant](https://wordpress.org/support/users/lesbessant/)
 * Last activity: [20 years, 8 months ago](https://wordpress.org/support/topic/new-rules-for-css-validation/page/2/#post-263120)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
