你好,我是在工作,在頁面上我都用使用HTML和CSS如何完全刪除的利潤率,使格全寬
網格工作正常的2列和1列響應網格,但我已經注意到這個網格的左邊和右邊有一個邊緣。我
<style>
/* SECTIONS */
.section {
clear: both;
padding: 0px;
margin: 0px;
}
/* COLUMN SETUP */
.col {
display: block;
float:left;
margin: 1% 0 1% 0%;
}
.col:first-child { margin-left: 0; }
/* GROUPING */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
/* GRID OF TWO */
.span_2_of_2 {
width: 100%;
}
.span_1_of_2 {
width: 50%;
}
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
@media only screen and (max-width: 480px) {
.col {
margin: 1% 0 1% 0%;
}
}
@media only screen and (max-width: 480px) {
.span_2_of_2, .span_1_of_2 { width: 100%; }
}
</style>
<div class="section group">
<div class="col span_1_of_2">
This is column 1
</div>
<div class="col span_1_of_2">
This is column 2
</div>
</div>
與與世無爭和padding都設置爲零
我試圖消除這種空間,但dsent工作,請我如何能確保我的網格的左邊和右邊這個利潤率已關閉。 這是該頁面的鏈接和截圖太
http://andymurphy.tv/index.php/landing/
它看起來像你有一個規則設置頁邊距爲自動被設置每個保證金爲2048像素什麼都原因...'.tve_lp_hybrid-homepage2 .tve_content_width, .tve_lp_hybrid-homepage2 .thrv_page_section .out .in' – Marie
它的模板,它是默認設置的,hw我是否騎過這個 –
你想要它全屏嗎? – blecaf