下列哪个样式可以将网页图片的边框设置为无?
A: img { border: 0px;}
B: * { margin: 0px; padding: 0px; list-style: none; font-size: 13px;}
C: nav ul li a:hover,
D: nav ul li a
E: current { background:
F: 177cb7;}
G: a { color:
H: 555; text-decoration: none;}
A: img { border: 0px;}
B: * { margin: 0px; padding: 0px; list-style: none; font-size: 13px;}
C: nav ul li a:hover,
D: nav ul li a
E: current { background:
F: 177cb7;}
G: a { color:
H: 555; text-decoration: none;}
举一反三
- 下列哪个样式可以去掉超链接的下划线? A: B: nav ul li { float: left;} C: D: nav ul li a:hover, E: nav ul li a F: current { background: G: 177cb7;} H: a { color: I: 555; text-decoration: none;} J: K: nav ul li a { display: block; width: 135px; height: 56px; line-height: 56px; color: L: fff; text-align: center; font-size: 14px;}
- 设置鼠标经过导航栏的效果,可以使用下列哪个CSS样式? A: a{text-decoration:none} B: C: nav li a{display:block; padding:0 20px; height:60px; line-height:60px; color: D: FFF; font-size:16px} E: ul{list-style-type:none} F: G: nav li a:hover{background: H: 0095BB}
- 下列哪个CSS样式中设置了左浮动? A: * { margin: 0px; padding: 0px; list-style: none; font-size: 13px;} B: C: header h1 { float: left;} D: a { color: E: 555; text-decoration: none;} F: G: header h1 a { background: url(image/logo.jpg); width: 476px; height: 102px; display: block; text-indent: -9999px;}
- 下列哪个样式可以实现列表项水平排列? A: ul{list-style-type:none} B: left{height:60px; background: C: 00A2CA; } D: nav li{float:left;} E: nav li a:hover{background: F: 0095BB}
- 下列哪个CSS样式可以设置背景图片水平填充? A: body{ background:url(image/bj.jpg) repeat-x ;} B: C: nav { padding-top: 3px;} D: E: header, F: nav, G: banner, H: main, I: footer{ margin:0px auto; width:950px;} J: K: main { padding: 10px 0px;}