以下定位,脱离文档流的是()。
A、A.#box{width:100px;height:50px;}
B、B.#box{width:100px;height:50px;postion:absolute}
C、C.#box{width:100px;height:50px;postion:relative}
D、D.#box{width:100px;height:50px;position:static}
A、A.#box{width:100px;height:50px;}
B、B.#box{width:100px;height:50px;postion:absolute}
C、C.#box{width:100px;height:50px;postion:relative}
D、D.#box{width:100px;height:50px;position:static}
A、A.盒子的默认定位为fixed,即固定定位 B、B.盒子的相对定位是指相对于其身原有位置进行偏移,一般会结合left、right、top、bottom属性使用 C、C.绝对定位是以其父元素为参考对象,绝对定位的元素会脱离文档流 D、D.position属性的取值为static时,是以浏览器窗口作为定位基准