簡體   English   中英

谷歌驗證碼顯示失真

[英]google captcha displayed distorted

我在JQuery手風琴部分中有一個與Google驗證碼聯系的聯系方式,並且Recaptcha顯示為變形。 我懷疑某些JS沖突是原因,但不確定。 有人有什么主意嗎?

我還無法發布圖片,您可以在http://trcont-ekb.ru/contacts.php上看到它

這是代碼:

<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>

移除tr { height: 2em; } tr { height: 2em; }或使用height: auto覆蓋#captcha表行。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM