Jack Kudla Jack Kudla - 1 year ago 185
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

Answer Source

Try adding

width: 50%;

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

display: block;

is for IE.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download