我在aspx页面中有一个下拉列表,我通过db绑定,并且我没有给dropdownlist控件提供任何固定高度,如下所示
在分辨率为1680 * 1050的显示器上发生。效果很好,分辨率为1366 * 768。在网上搜索了很多,但没有解决方案。请帮忙!
这是此下拉列表的标记:
<asp:DropDownList ID="ddlLossTypeTime" runat="server" AutoPostBack="true"
Width="75%" style="height: auto !important;
overflow: visible !important;overflow-y:auto"></asp:DropDownList>
答案 0 :(得分:0)
overflow: visible
到overflow: auto
或overflow: hidden
。