<div class="inp bg">
<input id="inp-query" type="text" name="search_text" size="22" maxlength="60" placeholder="书名、作者、ISBN" autocomplete="off" dir="ltr"/>
</div>
<div class="inp-btn">
<input name="submit1" type="submit" class="btn-global" onmousemove="this.className='btn-global btn-hover';" onmouseout= "this.className='btn-global';" onmousedown="this.className='btn-active';" value="search"/>
</div>

以上代码没有任何设置text不可编辑的属性,text却不可编辑,将.inp的float属性去掉后text变为可编辑,但是该显示需要float属性。经过千辛万苦的寻找终于发现将两个<div>改为<span>后问题解决。具体原因还不是很清楚。