RSS

Monthly Archives: October 2012

how to fix width of asp DropDownList


 
<style type=”text/css”>
.myselect {
width:150px;
}
.myselect option {
width:auto;
}
</style>

 

<div>
<asp:DropDownList ID=”ddlTopics” runat=”server” AutoPostBack=”True” CssClass=”myselect”
>
</asp:DropDownList>
</div>

 

 

 

Advertisements
 
1 Comment

Posted by on October 16, 2012 in ASP Dot Net C#

 

Tags: ,