I am using facebook like for my website. So i used allowTransparency='true' but in the case of validation its showing error like this:
The allowtransparency attribute on the iframe element is obsolete. Use
CSS instead.
How to fix this problem ?
Thank you.
You have apparently used a so-called HTML5 validator. When it reports something as “obsolete”, it means that the construct works, but the HTML5 drafts tell authors not to use it. So this is a problem only if you take it as a problem, or someone (like company rules that require “valid markup”) make it a problem.
Cf. to the question There is no attribute “allowtransparency”. Some answers to it comment on some alternate ways.