logo - 刷刷题
下载APP
【单选题】

About the characteristics of floating elements, which of the following statements is wrong? ( )

A.
If the width of the container box is less than the sum of the widths of all floating elements, the floating elements will wrap. At this time, if the heights of the floating elements are different, a blank block will appear.
B.
Floating elements occupy the original space.
C.
The text will surround the floating element when the floating element is with the text.
D.
Floating can only float left and right, not up and down.
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】Which option is wrong about float? ( )

A.
float:left
B.
float:center
C.
float:right
D.
float:none

【单选题】Which of the following is not a floating element characteristic? ( )

A.
Floating elements will be automatically set to block elements for display.
B.
A floating element is in the same position in the vertical direction as when it is not defined as floating.
C.
The floating element is horizontal, and it will be as close as possible to the edge of its parent element.
D.
Block elements will not drill under floating elements and will not be covered by floating elements.

【单选题】The correct statement about padding:20px 30px 40px is ( ).

A.
paddings: 20px space up, 30px space down, 40px space left and right
B.
paddings: 20px space up, 40px space down, 30px space left and right
C.
margins: 20px space up, 30px space down, 40px space left and right
D.
margins: 20px space up, 40px space down, 30px space left and right

【单选题】How to calculate the actual width of standard box model? ( )

A.
width
B.
left and right paddings + width
C.
left and right margins + left and right paddings + width + left and right borders
D.
left and right borders + left and right paddings + width

【单选题】The correct statement about border of box is ( ).

A.
The border-stylerepresentsthe thickness of the border.
B.
The border:10px solid red; represents a red dotted border with a thickness of 10px.
C.
The border:10px red; represents a red border with a thickness of 10px.
D.
The border-bottom:10px dashed green; representsthe thickness of the bottom border is 10px and it is a dotted green line.

【单选题】float<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>float</title> <style> .about{ width: 500px; } .about img{ float:left; width:200px; } <...

A.
Text overlays on picture.
B.
Text is on the top, and picture is on the bottom.
C.
Picture is on the left, and text is arranged on the right.
D.
Picture is on the left, and text surrounds the picture.

【多选题】In css, if the border is not displayed, which of the following statements is correct? ( )

A.
Set border:0px solid blue;
B.
Set border-color:transparent;
C.
Set border:none;
D.
Set border:1px solid transparent;