Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi
If “BorderStyle” property of a TextBox be set to “None”, also border would be shown.
What I should do until border not be shown?

Thanks very much
Posted
Comments
Vedat Ozan Oner 18-Jun-14 4:36am    
set border color to backcolor of your textbox.

1 solution

ASP.NET
<asp:textbox id="sample" runat="server" cssclass="custom" xmlns:asp="#unknown" />

CSS
<style type="text/css">
.custom
{
border : none;
}
</style>
 
Share this answer
 

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