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 –