Re: Resolve Twitter share button? The allowtransparency attribute on the iframe element is obsolete. Use CSS instead.

On 10 Sep 2012, at 09:17, Sam Vak <samvak07@gmail.com> wrote:
> When validating the site http://kalender2013.nl/ I get the following error:
> Error Line 17, Column 5889: The allowtransparency attribute on the iframe element is obsolete. Use CSS instead.
>  
> When looking at the issue I see this is generated from the Twitter button with the following code:
> <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://kalender2013.nl" data-text="Alle kalender in 2013!" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

No, it isn't. The error comes from the iframe pointing to facebook that appears immediately before that. The "allowTransparency" attribute is quite visible there.

> Is there anyway I can resolve the issue within the code?

Delete the obsolete attribute.

-- 
David Dorward
http://dorward.me.uk

Received on Monday, 10 September 2012 09:11:12 UTC