题目内容

在CSS中,为页面中的某个DIV标签设置以下样式,代码中div { width:200px; padding:0 20px; border:5px; },该标签的实际宽度为()

A. 200px
B. 220px
C. 240px
D. 250px

查看答案
更多问题

在HTML中,DIV默认样式下是不带滚动条的,若要使标签出现滚动条,需要为该标签定义()样式

A. overflow:hidden;
B. display:block;
C. overflow:scroll;
D. display:scroll;

阅读下面HTML代码,如果期望tabs位于box容器的右下角,则需要添加的CSS样式是()

A.
B. tabs { position:absolute; right:0; bottom:0; }
C. B.
D. tabs { position:relative; right:0; bottom:0; }
E. C.
F. box { position:relative; }
G. tabs { position:absolute; right:0; bottom:0; }
H. D.
I. box { position:relative; }
J. tabs { position:right bottom; }。

在 html 中,下列css属性中不属于盒子模型属性的是()

A. border
B. padding
C. float
D. margin

在网页中有一个id为content的div,下面( )正确设置它的宽度为200像素,高度为100像素,并且向左浮动

A.
B. content{width:200px;height:100px;float:left;}
C. B.
D. content{width:100px;height:200px;clear:left;}
E. C.
F. content{width:200px;height:100px;clear:left;}
G. D.
H. content{width:100px;height:200px;float:left;}

答案查题题库