(单选题)
以下代码片断中,属于绝对定位的是()。
A#box{width:100px;height:50px;}
B#box{width:100px;height:50px; position:absolute;}
C#box{width:100px;height:50px; position:static;}
D#box{width:100px;height:50px; position:relative;}
正确答案
答案解析
略
A#box{width:100px;height:50px;}
B#box{width:100px;height:50px; position:absolute;}
C#box{width:100px;height:50px; position:static;}
D#box{width:100px;height:50px; position:relative;}