题目内容

元素的底部外边距属性设置为10px ,可以写成()

A. margin-top:10px;
B. margin-bottom:10px;
C. padding-top:10px;
D. padding-bottom:10px;

查看答案
更多问题

设置背景图片不重复平铺,且水平居左,垂直居中,可以写成()

A. background:url(bg.jpg) no-repat left center;
B. background-image:url(bg.jpg) no-repat left center;
C. background-repeat:url(bg.jpg) no-repat left center;
D. background-color:url(bg.jpg) no-repat left center;

CSS样式表中,清除浮动,可以写成()

A. float:left;
B. clear:both;

在CSS3中,给元素设置为相对定位,可以写成()

A. position:absolute;
B. position:relative;
C. position:fixed;
D. position:static;

在CSS3中,给元素设置为绝对定位,可以写成()

A. position:absolute;
B. position:relative;
C. position:fixed;
D. position:static;

答案查题题库