在主流浏览器中创建适用于多行的下拉列表的更好方法是什么?
谢谢!
同样如下:
-------------
- Example 1 -
- and - This is one item
- Example 2 -
-------------
-------------
- Example 3 -
- and - This is another item
- Example 4 -
-------------
-------------
- Example 5 -
- and - and this is another item
- Example 6 -
-------------
给我同样的帮助!
答案 0 :(得分:0)
您是否只是在寻找
<br />
你要在每个文本框后添加的HTML吗?
答案 1 :(得分:0)
<br />
是一种解决方案。另一种方法是将每个控件包装在div类中并将css应用于它。使用div和css可以更好地控制长期运行。
//css
.coolClass
{
float:left;
}
//EndCss
<div class='coolClass'>
<asp:label>name</asp:label>
<asp:textobox runat='server' id='test1'/>
</div>