2016-01-06 81 views
0

我有內容,我有內容之外的表單元素。我已經使用jquery prependTo函數將表單元素移動到內部內容中(如果單擊「FiltreAç」按鈕,您將看到問題)。但是當我把內容放入內容時,我的內容並沒有擴展。我想知道如何解決這個問題?那謝謝啦。Css位置內容不擴展

我的代碼;

http://anitur.streamprovider.net/codepen/otel_filtreleme_cift.html

enter image description here

+1

我看不到任何'codepen'鏈接。 –

+0

哪裏是codepen鏈接? – Gintoki

+0

我無法添加codepen鏈接,這就是爲什麼我上傳我的服務器,你可以看到我編輯的鏈接 – yedincifirat

回答

1

,由於您的形式有z-index: 999所以你需要給你的頁腳比999的Z-索引更大,例如1000,如果你還想要你的頁腳移至底部只是給它一個固定現在的位置與bottom: 0

.listeleme-field-sayfa { 
    border-top: 1px solid #ccc; 
    font: 12px sans-serif; 
    position: fixed; 
    bottom: 0px; 
    z-index: 1000; 
    background: white; 
} 

看到這樣的畫面

enter image description here

+0

但形式留在頁腳 – yedincifirat

+0

和當我點擊「filtreAç」按鈕時,大的空白似乎成了一個問題 – yedincifirat

+0

是的,因爲你的表單太大取決於div裏面,試着做'.otel-filtre-kisim {overflow-y:scroll}'來滾動你的DIV和形式fitler – Gintoki