CSS背景对齐.docVIP

  • 16
  • 0
  • 约3.25千字
  • 约 3页
  • 2017-08-08 发布于河南
  • 举报
CSS背景对齐(底对齐)body { BACKGROUND-POSITION: 10% bottom; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-image: url(images/Stage_BG_btm.png); background-repeat: repeat-x; } ======================================================= background-position版本:CSS1  兼容性:IE4+ NS6+ 继承性:无 语法: background-position : length || length background-position : position || position 参数: length :  百分数 | 由浮点数字和单位标识符组成的长度值。请参阅长度单位 position :  top | center | bottom | left | center | right 说明: 设置或检索对象的背景图像位置。必须先指定background-image属性。默认值为:(0% 0%)。 如果只指定了一个值,该值将用于横坐标。纵坐标将默认为50%。第二个值将用于纵坐标。

文档评论(0)

1亿VIP精品文档

相关文档