联系人页面未在Google Chrome浏览器中正确显示

s6fujrry  于 2023-04-27  发布在  Go
关注(0)|答案(2)|浏览(121)

我有一个单页组合风格的网站,使用JQuery滚动,我无法让“联系人”页面在Google Chrome浏览器中完全显示。它在IE,Safari和Firefox中运行良好,但在Chrome中不行。我已经附加了“联系人”页面的代码,看看是否有人可以看到哪里出错了。要查看网站并看到问题所在,转到http://www.verticalministries.net/并导航到“联系人”页面。

<!-- CONTACT section --> 
  <div id="contact">
    <a name="contact"></a>
    <img src="images/contact_txt.png" alt="Contact" title="Contact" class="contact_txt" />
    <div class="contact_info_bg">
        <div class="conact_info">
          <h1>CONTACT VERTICAL</h1>
          <p>We would love to hear from you. Please give us a call or email us using the form to the right with any questions, comments or concerns.</p>
          <p>
            <strong>Phone:</strong> 318-560-4346<br />      
            <strong>Email:</strong> contact@verticalministries.net<br />
            <strong>Waco Hippodrome Address:</strong> 724 Austin Ave. Waco, <abbr title="Texas">TX</abbr><br />
            <strong>Mailing Address:</strong> 1901 S. 14th St., Waco, <abbr title="Texas">TX</abbr> 76706
          </p>
           <a href="http://maps.google.com/maps?sourceid=chrome&um=1&ie=UTF-8&q=waco+hippodrome&fb=1&gl=us&hq=hippodrome&hnear=waco&cid=0,0,6382554904160266109&ei=0qcxS_3RJcmTnQfGgZWECQ&sa=X&oi=local_result&ct=image&resnum=1&ved=0CAgQnwIwAA" target="_blank"><img src="images/map.gif" alt="Location" title="Location" /></a>
        </div>            
    </div>
    <div class="contact_form">
        <h1>EMAIL VERTICAL MINISTRIES</h1>
        <form action="#" method="post" id="sendEmail">                      
          <p>
            <label>Name:</label>
            <input type="text" id="name" class="field" name="nume" />
          </p>
          <div class="clear"></div>
          <p>
            <label>E-mail:</label>
            <input type="text" id="email" class="field" name="email" />
          </p>
          <div class="clear"></div>

          <p>
            <label>Message:</label>
            <textarea class="field_textarea" rows="" cols="" id="message" name="message"></textarea>
          </p>                    
          <div class="clear"></div>

          <p>
            <label><?php echo $n1 . ' + ' . $n2; ?> = <br /> <font size="1">security purposes</font></label>          
            <input type="text" id="captcha" class="captcha_field" name="captcha" />
          </p>                    
          <div class="clear"></div>

          <p id="loading"><label>&nbsp;</label><input type="image" id="submit" src="images/send_btn.png" value="Send" /></p>
        </form>  
    </div>
  </div>             
</div>

提前感谢您的帮助。

hjqgdpho

hjqgdpho1#

您的页面在完成滚动进入视图之前就用完了内容...它会滚动到#content的底部与页面底部相匹配的位置。
你可以在可滚动对象中添加填充(可能会影响其他浏览器),或者简单但有争议的CSS修复:

#contact { padding-bottom: 2000px; }

这将在下面提供空间,可以用作#content底部和<html>底部之间的缓冲区

gwbalxhn

gwbalxhn2#

您可能需要在#contact div中包含vertical-align:top;

相关问题