1
我想把頁面底部的背景圖像(底部欄),但關鍵詞底部不起作用,如果我使用像900px或55em它確實工作,但在檢查元素顯示在中間的頁面。使用背景定位底部屬性
<!DOCTYPE html>
<html>
<head>
<title>Test Website</title>
<style type="text/css">
body{
background: url('google2.png') no-repeat center bottom;
}
</style>
</head>
<body>
</body>
</html>
是'body'全寬?如果沒有,請使用'html,body {height:100%;}' –
Thanks mate,Worked –