A.直接插入两个DIV标记,会自动排在同一行
B.指定DIV的position属性为absolute,然后将层位置拖放到同一行中
C.指定DIV标记的宽,并且指定其浮动方式,当层宽度之和小于外层元素 宽度时,会排在同一行
D.使用一个表格,将两个层分别放入一行中的两个单元格内
您可能感兴趣的试卷
你可能感兴趣的试题
A.指网页元素的位置,距离左边框和上边框的距离
B.指网页元素的位置,距离右边框和下边框的距离
C.指网页元素的定位方式,可以取值中包括absolute
D.指网页元素的内容溢出时,是否显示多余的内容
A.document.all.a.style.color
B.document.all.a.style.backgroundColor
C.document.a.color
D.document.a.gackgroundColor
下列代码能产生()个输出
1 var i = 1;
2 for(;;i++)
3 if(i)
4 alert(i);
5 else
6 break;
A.0个
B.无限多个
C.19个
D.20个
A.document.menuBar.display += 20
B.document.all.menuBar.pixelLeft += 20
C.document.all.menuBar.left += 20
D.document.all.menuBar.style.pixelLeft += 20
A.document.username.value
B.document.all.username.value
C.document.getElementById(“username”).value
D.如果表单元素外层无表单,则可以直接使用username.value
A.document.write()
B.window.write()
C.document.confirm()
D.write “The Undefined Function”
A.window.exit()
B.window.shutdown()
C.window.end()
D.window.close()
A.pArray
B.this
C.function
D.*pNumber
A.100
B.84his is my 98ook
C.This is my book
D.不能计算,要报错
A.汇编语言
B.高级语言
C.脚本语言
D.近似语言