网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
关于以下CSS样式定义的说法,不正确的是( )divheader a:link, divheader a:visited{display: block;width: 372px;height: 90px;background : url(/ui/bg.gif) 0 -120px no-repeat;margin: 0;padding: 0;border: 0;}

A.定义了名为header的div里一般链接与已访问链接的属性

B.background定义的是页面背景

C.边框、内外边距都为0

D.设置了容器居中


参考答案

更多 “ 关于以下CSS样式定义的说法,不正确的是( )divheader a:link, divheader a:visited{display: block;width: 372px;height: 90px;background : url(/ui/bg.gif) 0 -120px no-repeat;margin: 0;padding: 0;border: 0;} A.定义了名为header的div里一般链接与已访问链接的属性B.background定义的是页面背景C.边框、内外边距都为0D.设置了容器居中 ” 相关考题
考题 请根据网页显示的效果图(见图6-3)和网页中的元素说明回答问题。以下是网页部分源代码,请填写______ 处的空格。<html><head>(1)<meta. http-equiv="Content-Type" content="text/html; charset=gb2312"><link hrel="./inc/style.css" rel="stylesheet" type="text/css"><style. type="text/css"><!-- body { margin-left: Opx; margin-top: Opx; margin-right: Opx; margin-bottom: Opx;}.style1 { font-family: Arial, Helvetica, sans-serif; color: FFFFFF; }.style2 {color: FFFFFF}--></style></head><body><br><table width="700" height="420" border="0" align="center" cellpadding="0"cellspacing="1" bgoolor="dddddd"><tr><td valign="top"><table width="700" height="420" border="0" cellpading="0" cellspacing="0" bgcolor="ffff"><tr><td valign="top"><table width="700" border="0" cellpadding="5" cellspacing="0" bgcolor="f1f1f1"><tr><td>欢迎使用员工管理系统</td></tr></table><table width="700" height="80" border="0" cellpadding="0" cellspacing="0"><tr><td><(2)="./images/logotitle. gif" width="700" height="80"></td></tr></table><table width="700" height="38" border="0" cellpadding="0" cellspacing="0" background="./images/bg_link.gif"><tr><td> </td></tr></table><table width="700" border="0" cellspacing="0" cellpadding="0"><tr><td height="280"><IMG height="80" src="./images/logo. gif" width="389"></td><td valigr="bottom"><form. method="post" name="Form. 1"(3)="login. asp"><table width="300" border="0" cellspacing ="0" cellpadding="3"><tr><td>用户名称: </td><td><input name="uid" maxlength="14" size="14" ></td><td>nisp;</td><td> </td></tr><tr><td>用户密码: </td><td><input type="(4)"name="pwd" maxlength="6" size="14"></td><td> </td><td><input type="(5)"border="0" height="20" src="./images/login.gif" width:"54"></td></tr>(6)

考题 下列哪个样式可以将网页图片的边框设置为无?A.img { border: 0px; }B.* { margin: 0px; padding: 0px; list-style: none; font-size: 13px; }C.#nav ul li a:hover, #nav ul li a#current { background: #177cb7; }D.a { color: #555; text-decoration: none; }

考题 以下有关CSS盒子模型说法正确的是()。A.border是边框B.marginpadding默认值为0C.margin是内边距D.padding是外边距

考题 下列HTML代码,实现左右固定,中间宽度自适应的三列布局的样式代码是 div id="left"l/div div id="right"r/div div id="middle"m/divA.#left {position:absolute;left:0px; top:0px; width:180px; height:500px; background-color:#FF0;} #middle{position:absolute;left:180px; top:0px; height:500px; background-color:#FF0000; margin:0px 180px;} #right {position:absolute; right:0px; top:0px; width:180px; height: 500px; background-color:#00CC00;}#B.#left {position:absolute;left:0px; top:0px; width:180px; height:500px; background-color:#FF0;} #middle {height:500px; background-color:

考题 定义导航区域的宽度及背景使用下列哪个CSS样式?A.#left{width:200px; background:#00A2CA; }B.ul{list-style-type:none}C.*{margin:0; padding:0;}D.a{text-decoration:none}

考题 下列哪个CSS样式中设置了左浮动?A.* { margin: 0px; padding: 0px; list-style: none; font-size: 13px; }#B.#header h1 { float: left; }#C.a { color: #555; text-decoration: none; }#D.#header h1 a { background: url(image/logo.jpg); width: 476px; height: 102px; display: block; text-indent: -9999px; }

考题 下列哪个CSS样式可以设置背景图片水平填充?A.body{ background:url(image/bj.jpg) repeat-x ; }B.#nav { padding-top: 3px; }C.#header,#nav,#banner,#main,#footer{ margin:0px auto; width:950px; }D.#main { padding: 10px 0px; }

考题 下列哪个样式中设置了行高属性?A.#footer { background: #d1dce3; height: 50px; line-height: 50px; text-align: center; }#B.#nav { padding-top: 3px; }#C.#header,#nav,#banner,#main,#footer{ margin:0px auto; width:950px; }#D.#main { padding: 10px 0px; }

考题 去掉HTML列表标签的列表项标记使用下列哪个CSS样式?A.#left{width:200px; background:#00A2CA; }B.*{margin:0; padding:0;}C.ul{list-style-type:none}D.a{text-decoration:none}