Default CSS Values & Validation
-
It looks like the plugin generates some CSS for posts but since it’s default values they’re coming out to invalid CSS.
<div class="cff-item cff-photo-post author-xyz" id="cff_123_456" style="border-bottom: 0px solid #fff; -webkit-border-radius: px; -moz-border-radius: px; border-radius: px; ">
Where
px
isn’t a valid value in CSS. Is this something that can be updated to a default value of 0 or removed if it doesn’t exist?<div class="cff-item cff-photo-post author-xyz" id="cff_123_456" style="border-bottom: 0px solid #fff; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; ">
This also happens with #hashtag links:
<a href="https://www.facebook.com/hashtag/Something" target="_blank" rel="nofollow" style="color:#">#Something</a>
If possible it would be best to just not add the CSS if the user hasn’t set the values in the plugin settings.
- The topic ‘Default CSS Values & Validation’ is closed to new replies.