style的top属性设置不管用问题
设置了style的top属性,不管用,原代码如下:
<input type="text" id="suggestId" value="" style="width:350px;height:25px;top:30px;">
要加position:absolute,如下:
<input type="text" id="suggestId" value="" style="width:350px;height:25px;top:30px;position:absolute;">