单项选择题
下列哪个代码可以设置或获取当前控件与其底部相邻控件或父控件底边之间的距离()。
A. aa.style.marginBottom
B. aa.style.marginTop
C. aa.style.marginLeft
D. aa.style.marginRight
点击查看答案
相关考题
-
单项选择题
以下哪段代码是获取控件内文本的颜色()。
A. var color = aa.style.color
B. aa.style.color = ‘blue’
C. var width = aa.borderWidth
D. var style = aa.style.borderBottomStyle -
单项选择题
代码P.style.borderBottomWidth=2表示()
A. 设置<p>的边框为2像素
B. 设置<p>的底边框为2像素
C. 设置id为P的标签的边框为2像素
D. 设置id为P的标签的底边框为2像素 -
单项选择题
要给id为P的标签行高设为20像素,代码为:()
A. P.style.fontWeight
B. P.style.margin
C. P.style.lineHeight
D. 以上都不正确
