http://developers.facebook.com/docs/reference/plugins/likeFacebook的Like按鈕和W3C驗證失敗
要包括廣受歡迎的Facebook上的[贊]按鈕,我必須使用下面的代碼:
<iframe src="http://www.facebook.com/plugins/like.php?href=www.MyDomain.com&layout=standard&show_faces=false&width=225&action=like&font=lucida+grande&colorscheme=dark&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:80px;" allowTransparency="true"></iframe>
我的網站不再因爲W3C驗證allowTransparency屬性:
Line 313, Column 342: there is no attribute "allowTransparency"
… overflow:hidden; width:250px; height:80px;" allowTransparency="true"></iframe>
有沒有辦法解決?我無法使用XFBML版本。這是非常糟糕..
Marketing et Conception Web Sherbrooke
是的,如果沒有它的按鈕看起來沒問題,它應該工作正常 – 2010-12-06 14:23:25
不,在黑色背景上不行。盒子是白色的。 – 2010-12-07 18:09:39