0

在主要浏览器中创建与多行一起使用的下拉菜单有什么更好的方法?

谢谢!

像这样:

-------------
- 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 -
-------------

给我同样的帮助!

4

2 回答 2

0

你只是在寻找

<br />

您会在每个文本框之后放置 html 吗?

于 2013-01-29T19:01:07.760 回答
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>
于 2013-01-29T19:52:37.890 回答