我有一個1 x 70像素的頁腳,它被設置爲背景和水平貼圖。如何使頁腳垂直拉伸?
在網頁上不包含大量內容的情況下,它會在頁腳應該在的位置顯示頁腳。我希望它用純色填充,所以如果向下滾動,它不會顯示頁腳,然後顯示頁腳下的白色。
這是我對於頁腳的風格。
.footer{
background:#055830 url('/images/footer_tile.gif') repeat-x top left;
color:#fff;
font-size:12px;
height: 70px;
margin-top: 10px;
font-family: Arial, Verdana, sans-serif;
width:100%;
}
alt text http://i34.tinypic.com/2q9xk02.jpg
我想頁腳看起來像這樣: alt text http://i37.tinypic.com/2ng4ew9.jpg
body { \t background-color:#005130; } 謝謝。 – Brad 2008-10-16 18:31:00