css样式表禁用图像平铺

来源:百度知道 编辑:UC知道 时间:2024/06/24 15:52:59
建网页的时候背景图像是自动平铺的,怎么禁用图像平铺?

http://hi.baidu.com/xianglaren/blog/category/css%BD%CC%B3%CC这个地址有css学习资料

background-repeat:repeat|no-repeat|repeat-x|repeat-y
参数:
repeat:背景图像在纵向和横向上平铺
no-repeat:背景图像不平铺
repeat-x:背景图像在横向上平铺
repeat-y:背景图像在纵向平铺
说明:
设置或检索对象的背景图像是否及如何铺排。必须先指定对象的背景图像。
对应的脚本特性为backgroundRepeat。