我有這個經典的容器:如何刪除頁面底部頂部e的空格?
.container { width: 910px;
margin-left: auto;
margin-right: auto;
position: relative;
background-image:url(../images/background.png);
background-repeat:repeat-y; }
,但它在頂部,並在頁面的底部創建一個小的空間(如5,10像素)。
爲什麼?我該如何解決它?
什麼html標籤是.container尋址? – gutierrezalex 2011-05-14 13:26:21
@gutierrezalex:「經典容器」總是一個'div'。 – thirtydot 2011-05-14 13:28:34