1. 使用JS改变背景图
方法1: $(id).style.background='url(images/a.png) no-repeat scroll 0 0 transparent';
方法2: $(id).style.backgroundImage='url(images/a.png)';
$(id).style.backgroundRepeat='NO';
$(id).style.backgroundPosition='top left';
$(id).style.backgroundAttachment='fixed';
2. 在HTML元素的sytle属性中设置背景图: style="url(images/a.png) no-repeat scroll 0 0 transparent";
3. 背景颜色: body.style.backgroundColor="#FFCC80";
NOTE: $=document.getElementById()