reCaptcha is rendered in the most right bottom cornver for some reason
问题 My ajax form with recaptcha, simplified code: <form> <input type="email" placeholder="Email" required="true" /> <input type="submit" value="Create account" /> <div class="g-recaptcha" data-sitekey="12345" data-size="invisible"></div> </form> For some reason, it renders the reCaptcha somewhere in the right bottom corner, under the footer. Why is that and how to fix it? 回答1: Since you are using "invisible" recaptcha, you can pass data-badge attribute in HTML element to recaptcha api. data-badge