

background-color : transparent | color
参数: 
transparent :  背景色透明
color :  指定颜色。请参阅颜色单位和附录:颜色表 
 
说明: 
 
设置或检索对象的背景颜色。 
对应的脚本特性为backgroundColor。请参阅我编写的其他书目。 
 
示例: 
 
p { background-color: silver }
div { background-color: rgb(223,71,177) } 
body { background-color: #98AB6F }
pre { background-color: transparent; }background-color -- 背景色,定义背景的颜色
取值: <color> | transparent | inherit
<color>: 颜色表示法
transparent: 透明
inherit: 继承
初始值: transparent
继承性: 是
适用于: 所有元素
background:背景.color:颜色.
背景色与前景色对应,可以定义背景的颜色.
示例
body {	background-color:green;}定义网页的背景使用绿色.
