为了让以下 id 为 container 的 div 能够水平居中,需要的 CSS样式是 ( ) 。
页面正文
A.
B. container{width:880px; padding:0px auto;}
C. B.
D. container{width:880px;padding:auto 0px;}
E. C.
F. container{width:880px;margin:auto 0px;}
G. D.
H. container{width:880px;margin:0px auto;}
background-repeat ,默认效果是
A. 背景图不平铺
B. 背景图横向平铺
C. 背景图纵向平铺
D. 背景纵向和横向上平铺
下列属性哪一个能够实现元素的隐藏
A. display:false
B. display:hidden
C. display:none
D. display:" "
以下用于给页面所有h1标签添加背景色的是( )。
A. h1 {background-color: “red”;}
B.
C. h1 {background-color: “red”;}
D. h1 all {background-color: “red”;}
E. .h1 {background-color: “red”;}