Jack Kudla Jack Kudla - 3 months ago 23
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>
</div>


#capatcha {
margin: 0 auto;
display: block
}

Answer

Try adding

width: 50%;

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

display: block;

is for IE.

Comments