2013-01-01 29 views

回答

1

在TimeClock.css中,刪除高度:100%;在線10:

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video 
{ 
    margin: 0; 
    padding: 0; 
    border: 0; 
    outline: 0; 
    font-size: 100%; 
    font: inherit; 
    vertical-align: baseline; 
    height: 100%; 
} 

此行使您的滾動條佔據所有可用空間並打破腳本。

要解決你的頁腳,添加:

html { 
    height: 100%; 
} 
+0

謝謝!這有效,但由於某種原因它打破了我的頁腳。但你修復了jquery jscrollpane問題。謝謝 – Icemanind

+0

看看我的原始答案,我現在在其中添加了對頁腳的修復。 –

+0

這工作完美!謝謝! – Icemanind

0

給一個高度.login_page .center