2016-05-26 64 views
0

這是我現在正在開發的網站:in-nabavi.com。這裏沒有任何東西,只有幾個街區。正如你所看到的那樣,在文檔末尾有一個額外的空白區域,我真的不知道它爲什麼在那裏。HTML標記下的額外空格

這是螢火蟲結果

enter image description here

正如你看到的紅線區周圍未在HTML區域包括在內。

我也試過以下

body, html{ 
    margin:0; 
    height: 100%; 
} 

,但它沒有再工作。

謝謝。

回答

4

您已在clearfix類中使用content: "."來設置佈局。 僅限使用content: "";

.clearfix:after { 
    visibility: hidden; 
    display: block; 
    content: ""; 
    clear: both; 
    height: 0; 
} 
+0

你是對的.. http://output.jsbin.com/jugojo –

1

有一個.clearfix:after CSS類,其中有一個content:"." 刪除。

或覆蓋它,以便它不妨礙其他任何事情。

1
.clearfix:after { 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden; 
    content: close-quote; 
} 
0

你可以試試這個....

.panels-flexible-1 .panels-flexible-row-last{position: absolute;}