<SELECT id=select1 size=3 style="background:red;font-size:20"> 
  <OPTION>111</OPTION>
  <OPTION>222</OPTION>
  <OPTION>333</OPTION>
</SELECT>

解决方案 »

  1.   

    想改变 SELECT 的样式,如果有兴趣的话请看看我还为出炉的 HTMLComboxEx 吧!目前正在“紧张的”继续着 http://www.cntomorrow.com:3310/htmlcomboxex/HTMLComboxEx.htm
      

  2.   

    在listbox上叠加一个text,然后设置text,具体看
    http://expert.csdn.net/Expert/topic/1812/1812694.xml?temp=.1971094注意这里的变化,把你的样式就用到这里就可以了。
    <INPUT type="text" name="'+ oldName + '" id="'+ oldName + '" '+ className +' autocomplete="off" style="POSITION: absolute; width:'+ objWidth +'px;hegiht:' + objHeight +'px; Z-INDEX: 2; padding-left:3px"  onkeydown="JavaScript:selectitem(this);" value="'+OBJ.options[OBJ.selectedIndex].value+'">