企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
| [DHTMLET®](http://www.dhtmlet.com) | [属性清单 ](#)| 相关内容:SEE ALSO------------------------------------------  z-index  top  right  bottom  left | |-----|-----| position版本:CSS2  兼容性:IE4+ NS4+ 继承性:无   语法:   **position : **** static **|** absolute **|** fixed **|** relative **   参数:   **static : ** 无特殊定位,对象遵循HTML定位规则 **absolute : ** 将对象从文档流中拖出,使用[left](#),[right](#),[top](#),[bottom](#)等属性进行绝对定位。而其层叠通过[z-index](#)属性定义。此时对象不具有[边距](#),但仍有[补白](#)和[边框](#) **relative : ** 对象不可层叠,但将依据[left](#),[right](#),[top](#),[bottom](#)等属性在正常文档流中偏移位置 **fixed : ** IE5.5及NS6尚不支持此属性   说明:   检索对象的定位方式。 对应的脚本特性为**position**。请参阅我编写的其他书目。   示例:   div { position: absolute; bottom: 1in; left: 1in; right: 1in; top: 1in; } div { position:relative; top:-3px; left:6px; }   小 强  bottom : -20px  小强的属性:position :staticposition : absoluteposition : relativeposition : fixed       苏沈小雨制作・保留所有权利 &copy2001 rain1977.comer . All rights reserved . Terms of Use .