Click here to Skip to main content
15,867,851 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a drop down and i need the edges of the drop dwon round...i tried by making border-radius but its not working...Could anybody suggest please
Posted

1 solution

add a class in css
CSS
.dropdown
{
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 10px;
    padding: 2px 3px;
    cursor: text;
    height: 30px;
    width: 270px;
    cursor: pointer !important;
}


ASP.NET
<asp:dropdownlist id="ddlSomething" cssclass="dropdown" runat="server" xmlns:asp="#unknown">
                           </asp:dropdownlist>
 
Share this answer
 
v2
Comments
spanner21 11-Dec-13 3:33am    
i tried it but it didnt wok and also border-radius property is not supporting...Could you pls let me know if any other solution works
Vishal Pand3y 11-Dec-13 3:41am    
try
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
V1CT0R. 11-Dec-13 11:34am    
I have also same problem and its working for me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900