vijay

welcome Netizen

Share Your Knowledge.It is a way to achieve immortality

Tuesday, October 18, 2011

Rounded corner Textbox in asp.net


HI..Friends..Now I am going to share to create a round corner textbox in asp.net..Suppose if you want to design your site with more attraction then you can create this type of style using css..
Its very simple to apply css for textbox..
Write the below code css for text box..
<style type=”text/css”>
</style>
.txtbox
{
     
     border-top-left-radius: 20px;

border-top-right-radius: 20px;

border-bottom-left-radius: 20px;

border-bottom-right-radius: 20px;
}
</style>


  <asp:TextBox ID="TextBox1" runat="server" cssclass=”txtbox”></asp:TextBox>

Then your textbox looks like below………

I hope this one helpful to some one..
Share your thought here…..

0 comments:

Post a Comment