|
|
|
CSS背景:background-color
作者:佚名 来源:Linux 宝库 点击: 日期:2006-12-07 |
|
--> 语法: background-color : transparent | color 取值: transparent :? 默认值。背景色透明 color :? 指定颜色。请参阅 颜色单位 和 附录:颜色表
说明: 设置或检索对象的背景颜色。 当背景颜色与背景图像( background-image )都被设定了时,背景图片将覆盖于背景颜色之上。 此属性对于 currentStyle 对象而言是只读的。对于其他对象而言是可读写的。 对应的脚本特性为 backgroundColor 。 示例: p { background-color: silver } div { background-color: rgb(223,71,177) } body { background-color: #98AB6F } pre { background-color: transparent; }
|
|
|
|
【文章评论】
【收藏本文】
【推荐好友】
【打印本文】
【论坛讨论】 |
相关文章: |
|
|
文章评论:(条) |
|
|
|
|
责任编辑:一分 声明:刊登此文章是为了传递更多信息,文章内容仅供参考,转载请注明出处。 |
|