当前位置:编程学习 > C#/ASP.NET >>

如何设置dropdownlist下拉框的高度

如何设置dropdownlist下拉框的高度 --------------------编程问答-------------------- 这么好像没有,要自己做个类似效果。用TextBox和层做 --------------------编程问答-------------------- 设置Height --------------------编程问答-------------------- --------------------编程问答--------------------
引用 2 楼 zcty520 的回复:
设置Height

看错了,还以为是说控件高度呢 --------------------编程问答--------------------
引用 4 楼 zcty520 的回复:
引用 2 楼 zcty520 的回复:
设置Height

看错了,还以为是说控件高度呢

sb --------------------编程问答--------------------
引用 1 楼 rock870210 的回复:
这么好像没有,要自己做个类似效果。用TextBox和层做
是的,一般是input,button和层做,用样式控制 --------------------编程问答-------------------- 都是 自己做的、 --------------------编程问答-------------------- 用CSS样式控制。。 --------------------编程问答--------------------
引用 8 楼 fengqingtao2008 的回复:
用CSS样式控制。。

.select_w150{ height:20px;_margin-top:3px;}

<asp:dropdownlist id="dropdownlist1" runat="server" class="select_w150">
</asp:dropdownlist>


http://www.17ext.com/ask/q-20549.aspx --------------------编程问答-------------------- .selectclass{ height:20px;_margin-top:3px;}

<asp:DropDownList ID="DropDownList1" runat="server" class="selectclass">
</asp:DropDownList>  --------------------编程问答--------------------
引用 4 楼 zcty520 的回复:
引用 2 楼 zcty520 的回复:
设置Height

看错了,还以为是说控件高度呢


zhang523012313
你脑子被门夹了吗?
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,