开发者

Css Validation Problem with facebook login button

开发者 https://www.devze.com 2023-03-16 06:46 出处:网络
I hve used one facebook login button in my site but it give 4 W3c error in http://validator.w3.org there is no attribute \"AUTOLOGOUTLINK\"

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

精彩评论

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

关注公众号