• The add to any plugin css causes css validation to have the following errors . Is there any way to fix this?

    56 ul.addtoany_list a img Property opacity doesn’t exist in CSS level 2.1 but exists in [css3] : 0.6
    57 ul.addtoany_list a img Property -moz-opacity doesn’t exist : 0.6
    58 ul.addtoany_list a img Parse Error opacity=60)
    61 ul.addtoany_list a:hover img, ul.addtoany_list a.addtoany_share_save img Property opacity doesn’t exist in CSS level 2.1 but exists in [css3] : 1
    62 ul.addtoany_list a:hover img, ul.addtoany_list a.addtoany_share_save img Property -moz-opacity doesn’t exist : 1
    63 ul.addtoany_list a:hover img, ul.addtoany_list a.addtoany_share_save img Parse Error opacity=100)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Bruce,

    Thanks for asking about CSS validation. It raises a good point.

    The plugin uses a number of CSS proprietary browser extensions (like -moz-opacity and the IE opacity filter) to ensure a consistent user experience across browsers. This comes at the cost of validation, but will not affect the styling of other elements on your blog, and actually, won’t affect anything other than the CSS validator you’re using.

    Aside from proprietary CSS declarations, the plugin outputs W3C valid CSS syntax and 100% valid HTML.

    In short, there is no need to worry about CSS validation for the Add to Any plugin.

    Just a quick update that the plugin’s CSS also now validates as CSS 3.0.

    The line supporting Internet’s Explorer’s filter property was moved into a conditional comment, and -moz-opacity (depreciated in Firefox 1) was removed in favor of the now standard opacity.

    I have had the plugin for several months, after the last upade it seemed to cause several java errors in W3C validation.

    I uninstalled the plugin and re-installed it… (resetting the CSS settings) now it passes W3 but obviously with no customized styling.

    Hi Chris,

    What version of the plugin are you using, and can you link us to us your site or post the first validation error(s)?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Add to Any: Share/Bookmark/Email Button] Add to Any CSS Validation Errors’ is closed to new replies.