网页定位

1、position属性:定位 属性值 说明 备注 举例 static 默认值,没有定位     relative 相对定位(相对自身原来位置进行偏移) 偏移设置:top、left、right、bottom #third {  position:relative;      right:20px;      bottom:30px; } absolute 绝对定位 偏移设置: left、right
相关文章
相关标签/搜索