RSS widget from WP introduces css error (4 posts)

  1. kmessinger
    Forum Moderator
    Posted 6 years ago #

    After adding the RSS widget to my sidebar, http://www.ourexcellentadventures.com
    I can't validate my css.

    I get this error, Value Error : background Too many values or values are not recognized : orange. The value comes from, <img style='background:orange;color:white;border:none;' width='14' height='14' src='http://www.ourexcellentadventures.com/wp-includes/images/rss.png' alt='RSS' /> which is in-line css.

    Is there a way to fix this or should I find another widget?

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    There's nothing wrong with that CSS that I can see! And the W3C CSS validator gives the site a clean bill of health.

  3. kmessinger
    Forum Moderator
    Posted 6 years ago #

    Well that is pretty strange. This url says all is ok,

    and this url reports an error

    Wished I had looked at the top one first before spending time trying to fix an error(?).

    EDIT: One is level 2 css and the other level 2.1 - I think I will quit while I am ahead.

  4. esmi
    Forum Moderator
    Posted 6 years ago #

    Validators are just tools. And dumb software tools, at that. Maybe one of the algorithms didn't like the single quotes around the style declaration next to single quoted image dimensions. Who knows? Either way, it all looks fine.

Topic Closed

This topic has been closed to new replies.

About this Topic