盒子的定位position static 静态的(默认属性) relative 相对定位 absolute 绝对定位 fixed 固定定位(不随滚动条移动) 相对定位relative 设置相对定位的元素,相对于原来位置偏移 指定偏移量:left right top bottom 绝对定位absolute 绝对定位的元素,相对于父元素位置偏移 指定偏移量:left right top bottom 标签: html 网站 编辑器 定位
发表评论