2010-02-11 95 views
0

我有一個使用JQuery滾動的單頁組合樣式網站,我無法使「聯繫人」頁面在Google Chrome瀏覽器中完全顯示。它在IE,Safari和Firefox中運行良好,但不適用於Chrome。我附上了「聯繫人」頁面的代碼,以查看是否有人能看到錯誤。要查看網站並查看問題,請轉至http://www.verticalministries.net/並導航至「聯繫人」頁面。聯繫我們頁面無法在Google Chrome瀏覽器中正確顯示

<!-- 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> [email protected]<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> 

非常感謝您的幫助。

回答

1

在頁面滾動到視圖之前,頁面內容用完......滾動到#內容的底部與頁面底部相匹配的位置。

您可以在滾動的對象添加填充(可能會影響其他瀏覽器),或者一個簡單而辯論,巧妙地哈克CSS修復:

#contact { padding-bottom: 2000px; } 

這將給它下方的空間,可以作爲一個行動#內容底部和底部之間的緩衝區<html>

+0

謝謝尼克。我以爲我曾嘗試過,但我猜不是。它像一個魅力。 – dhjolesch 2010-02-11 02:22:02

1

您可能需要在#contact div上有vertical-align:top;

相關問題