In my website(HTML5), i have facebook like option.
But validating through w3c validation, its showing error like this:
The frameborder attribute on the
<iframe>element is obsolete. Use
CSS instead.
If i am using css for style='border:none; overflow:hidden; width:75px; height:27px;
Then it showing
“The scrolling attribute on the <iframe> element is obsolete. Use CSS instead.”
<div style='float:left; padding:6px 0 0 0px'>
<iframe allowTransparency='true' frameborder='0' scrolling='no' src='http://www.facebook.com/plugins/like.php?href=' style='border:none; overflow:hidden; width:75px; height:27px;'></iframe></div>
</div>
If i am removing every inline style and giving in css,then its not showing any error except allowTransparency.
Why ?
These attributes should be removed, not the inline style.