单项选择题

实现一个已知宽高的盒子在浏览器中水平和垂直都居中,需要使用()属性。

A.float:right
B.position:relative
C.?position:absolute
D.float:left