select不占一行

http://www.myexception.cn/java-web/382028.html


struts2 标签select的问题
<td>
级别
</td>
<td>
<s:select name="level" id="level" value="%{hospLevels}"
headerValue="请选择级别" key="hospLevels"  cssStyle="width:100px"
list="LevelList" listKey="hospLevels" listValue="levelName" />
</td>


为什么select标签必须占一行,怎么设置让他不占一行啊

------解决方案--------------------------------------------------------
在select标签中加入一个属性 theme="simple"就可以了

你可能感兴趣的:(select不占一行)