为什么recaptcha图像的大小固定为300×57?即使在自定义注入图像的div时,div的宽度和高度也会被覆盖并设置为300×57.当然,图像可以在渲染后重新调整大小,但为什么没有选项来生成开发人员希望的大小的图像.
http://code.google.com/apis/recaptcha/docs/customization.html
reCAPTCHA will rely on the presence of HTML elements with the following IDs to display the CAPTCHA to the user: An empty div with ID recaptcha_image. This is where the actual image will be placed. The div will be 300×57 pixels
谢谢
解决方法
#recaptcha_image img { width: 200px !important; height: 38px !important; }