Centering No Captcha reCaptcha

后端 未结 14 1153
旧巷少年郎
旧巷少年郎 2020-12-24 01:38

After a few hours of research and trial and error, I was finally able to add the new Google No Capatcha re Capatcha to my form and get it working, but for some reason, it wo

14条回答
  •  轮回少年
    2020-12-24 02:30

    This css works fine for me:

    .g-recaptcha{
       margin: 15px auto !important;
       width: auto !important;
       height: auto !important;
       text-align: -webkit-center;
       text-align: -moz-center;
       text-align: -o-center;
       text-align: -ms-center;
    }
    

提交回复
热议问题