键盘控制层的移动 <BR><!-- <BR>#Div { <BR>position:absolute; <BR>width:238px; <BR>height:135px; <BR>left:expression((body.clientWidth - this.offsetWidth)/2); <BR>top:expression((body.clientHeight - this.offsetHeight)/2); <BR>z-index:1; <BR>text-align:center; <BR>background:#AFDBFF; <BR>border:#006699 1px solid; <BR>} <BR>#Txt{ <BR>font-size:9pt; <BR>position:absolute; <BR>width:200px; <BR>top:expression((Div.offsetHeight - this.offsetHeight)/2); <BR>left:expression((Div.offsetWidth - this.offsetWidth)/2); <BR>} <BR>#Txt p{ <BR>font-size:9pt; <BR>margin:8px; <BR>} <BR>#Txt font{ <BR>color:#FF0000; <BR>font-size:9pt; <BR>} <BR>#Layer1 { <BR>border:#006699 1px solid; <BR>padding:10px; <BR>font-size:9pt; <BR>color:#336699; <BR>position:absolute; <BR>top:expression((body.clientHeight - this.offsetHeight)/2); <BR>left:expression((body.clientWidth - this.offsetWidth)/2 + Div.offsetWidth); <BR>} <BR>#Layer1 Input { <BR>font-size:9pt; <BR>color:#336699; <BR>} <BR>#Int { <BR>text-align:right; <BR>} <BR>--> <BR> 请分别按下 ↑、↓、←、→, 试试看有什么效果? 控制键设置: 向上移动: 向下移动: 向左移动: 向右移动: 每次移动 px;