A.先轉成塊級元素,用display:block
B.先轉成行內(nèi)塊元素,用display:inline-block
C.先轉成行內(nèi)元素,用display:inline
D.以上都不對
您可能感興趣的試卷
你可能感興趣的試題
關于css,以下說法正確的是()。
①設置寬度用width,設置高度用height
②設置背景顏色用background-color
③設置元素狀態(tài)用display
④opacity=0表示完全透明
A.①②③
B.①③④
C.①②③④
D.②③④
A.<input title="file"/><br><input title="button"value="提交"/>
B.<input type="button-file"/><br><input type="button"value="提交"/>
C.<input type="file"/><br><input type="button-file"value="提交"/>
D.<input type="file"/><br><input type="button"value="提交"/>
A.border:red solid 5px;
B.bord:red dotted 5px;
C.border:red double 5px;
D.bord:red double 5px;
A.性別:< input type="radio"/>男< input type="radio"/>女
B.性別:< input type="radio"name="man"/>男< input type="radio"name="woman"/>女
C.性別:< input type="checkbox"name="sex"/>男< input type="checbox"name="sex"/>女
D.性別:< input type="radio"name="sex"/>男< input type="radio"name="sex"/>女
A.密碼< input name="password"/>
B.密碼< input type="password"/>
C.密碼< input title="password"/>
D.密碼< input value="password"/>