使背景图像静态?
问题描述:
所以,我试图使背景图像静态,并有前景内容移动它。有一些问题,我做错了什么?这是我目前的代码。使背景图像静态?
body
{
color: #000;
margin: 10px 0px 10px 0px;
background-color: #ffffff;
background-image:url('http://userlogos.org/files/backgrounds/Mafia_Penguin/Map1280x800.jpg');
background-repeat:no-repeat;
font-family: Arial, Helvetica, sans-serif;
}
太棒了,谢谢。 – Darren 2010-09-21 11:26:01