开发者

Css Validation Problem with facebook login button

I hve used one facebook login button

in my site but it give 4 W3c error in http://validator.w3.org

  1. there is no attribute "AUTOLOGOUTLINK"
  2. there is no attribute "SIZE"
  3. there is no attribute "PER开发者_如何学PythonMS"
  4. element "FB:LOGIN-BUTTON" undefined

So, how can made a error free page with this button

my site is http://www.dialindia.com


Frankly this shouldn't be an issue tbh...

However if it bothers you, you can use jQuery to embed the FB login code once the DOM is ready so that it isn't sent as a part of the markup to the validator

Try something like :

jQuery(document).ready(function() {
     var fbCode = "Your facebook code goes here";
     $("#forgot").prepend(fbCode);
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜