为了修改div块之间的相对位置,可以通过修改div块的()属性。
A: float
B: position
C: width
D: height
A: float
B: position
C: width
D: height
举一反三
- 所有主流浏览器都支持div标签,div是块级元素,div可以设置很多属性,其中有一个样式属性,样式属性的名称是()。 A: background B: width C: height D: style
- 对于<;div style="width:100px,height:100px;background:red">;<;/div>;,可实现与代码$("div").slideUp(400)同样效果的是( ) A: $("div").animate({"width":"0px","height":"0px"}) B: $("div").animate({"width":"0px","height":"100px"}) C: $("div").animate({"height":"0px"}) D: $("div").animate("height","0px")
- 在AP Div元素的属性设置中,修改Z轴可以改变AP Div元素的()属性。 A: A水平位置 B: B垂直位置 C: CAP Div元素的纵深相对位置 D: D相对网页的竖直位置
- 中国大学MOOC: 阅读下面HTML代码,两个div水平之间的空白距离是( )。<style type="text/css"> div{float:left;width:100px;height:200px;margin:5px;}</style> ...... <div ></div> <div ></div> ......
- 114.阅读下面HTML代码,两个div水平之间的空白距离是( )。 div{float:left;width:100px;height:200px;margin:5px;} ...... ......