[英]google captcha displayed distorted
I have a contact-us form with Google captcha inside a JQuery accordion section and the recaptcha is displayed distorted. 我在JQuery手风琴部分中有一个与Google验证码联系的联系方式,并且Recaptcha显示为变形。 I suspect some JS conflict to be the reason but not sure.
我怀疑某些JS冲突是原因,但不确定。 Does anyone have any idea?
有人有什么主意吗?
I cannot post images yet, you can see it at http://trcont-ekb.ru/contacts.php 我还无法发布图片,您可以在http://trcont-ekb.ru/contacts.php上看到它
Here's the code: 这是代码:
<form action="sendmessage.php" method="POST">
<fieldset>
<table style="border:none; border-spacing: 0px; padding:0px; width:450px; font-size:14px; font-family:calibri,sans-serif;">
<tr>
<td height="30" style="text-align:right; vertical-align:top;"><label for="name">Имя:*</label></td>
<td><input type="text" required name="name" size="30" /></td></tr><br />
<tr><td height="30" style="text-align:right; vertical-align:top;"><label for="phone">Телефон:*</label></td>
<td><input type="text" required name="phone" size="30" /></td></tr><br />
<tr><td height="30" style="text-align:right; vertical-align:top;"><label for="email">Ваш e-mail:*</label></td>
<td><input type="email" required name="email" size="30" /></td></tr><br />
<tr><td height="30" style="text-align:right; vertical-align:top;"><label for="where">Выберите адресата:*</label></td>
<td><select style="width:237px; height:24px;" required name="where" >
<option value="">---------</option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
</select></td></tr><br />
<tr><td height="30" style="text-align:right; vertical-align:top;"><label for="messsage">Ваше сообщение:*</label></td>
<td><textarea rows="10" cols="30" required name="message" id="message"></textarea></td></tr></table><br />
<div align="center">
<div id="captcha">
<?php
require_once('recaptchalib.php');
$publickey = "123456789";
echo recaptcha_get_html($publickey);
?>
</div>
</div>
<br /><input type="submit" name="submit" value="Отправить сообщение" id="submit" /><br />
</fieldset>
</form>
Remove tr { height: 2em; }
移除
tr { height: 2em; }
tr { height: 2em; }
or override it with height: auto
for table rows within #captcha
. tr { height: 2em; }
或使用height: auto
覆盖#captcha
表行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.