这个HTML使用了CSS的background-repeat属性,使背景图片竖向重复。
<style type="text/css"> body { background-image:url(../images/css_tutorials/background.jpg); background-repeat:repeat-y } </style>
常用的background-repeat的属性值有: repeat-x(横向重复),repeat-x(横向重复), no-repeat(不重复)。 background-repeat属性要和background-image一起用。
必须登录才可以留言哦!