border属性走义边框效果时必须设置是()
A. 定义边框线的粗细
B. 定义边框线的线型
C. 定义边框线的颜色
D. 以上都正确
以下代码片段中,属于绝对定位的是()
A.
B. box{width:100px;height:50px;}
C. B.
D. box{width:100px;height:50px;position:absolute;}
E. C.
F. box{width:100px;height:50px;position:static;}
G. D.
H. box{width:100px;height:50px;position:relative;}
以下关于背景图片的设置说法错误的是()
A. background可以设置背景图片
B. background- image可以设置背景图
C. background-repeat:repeat;表示背景图像仅在横向上平铺
D. background-repeat属性不设置,默认代表背景图像在纵向和横向上平铺
如果要定义某元素的右边框,宽度为1pX,外观为实线、颜色为红色正确的写法应该是()
A. border: 1px solid red
B. border: 1px dashed red
C. border-right: 1px solid red
D. border-right: 1px dashed red