Jack Kudla Jack Kudla - 2 months ago 5x
CSS Question

Centering No Captcha reCaptcha

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 wont center anyone got any ideas?

<!-- reCapatcha -->
<div id="capatcha">
<div class="g-recaptcha" data-sitekey=""></div>

#capatcha {
margin: 0 auto;
display: block


Try adding

width: 50%;

to your css. I looked at another answer and it said that

display: block;

is for IE.