inherit 是继承父元素的position属性值,IE不支持。
static 默认值,元素出现在正常的流中,忽略 (TRBL)和z-index的值。请参照下面的例子,div1由于position的值为static,所以top,left 没有起作用.
test position static .divPos{ position:static; left:100px; top:100px; }this id div 1(position is static)
查看更多关于cssposition属性(absolute和fixed区别)_html/css_WEB-ITnos的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did108244