Sunday, 7 April 2013

CSS Text box in asp.net

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="css_TextBox.aspx.cs" Inherits="css_TextBox" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><
html xmlns="http://www.w3.org/1999/xhtml"><
head id="Head1" runat="server"><title></title><style type="text/css">.tb10{
background-image: url(NewFolder1/form_bg.jpg);
background-repeat: repeat-x;
border: 1px solid #d1c7ac;
width: 230px;
color: #333333;
padding: 3px;
margin-right: 4px;
margin-bottom: 8px;
font-family: tahoma, arial, sans-serif;}

.tb11{
background-image: url(NewFolder1/Capture.PNG);
background-repeat: repeat-x;
border: 1px solid #E3EEFB;
width: 230px;
color: #333333;
padding: 3px;
margin-right: 4px;
margin-bottom: 8px;
font-family: tahoma, arial, sans-serif;}

.tb12{
background-image: url(NewFolder1/Capture.PNG);
background-repeat: repeat-x;
border: 1px solid #d1c7ac;
width: 230px;
color: #333333;
padding: 3px;
margin-right: 4px;
margin-bottom: 8px;
font-family: tahoma, arial, sans-serif;}

.tb13{
background-image: url(NewFolder1/Capture1.PNG);
background-repeat: repeat-x;
border: 1px solid #d1c7ac;
width: 230px;
color: #333333;
padding: 3px;
margin-right: 4px;
margin-bottom: 8px;
font-family: tahoma, arial, sans-serif;}

.tb14{
background-image: url(NewFolder1/Capture1.PNG);
background-repeat: repeat-x;
border: 1px solid #CCCCCC;
width: 230px;
color: #333333;
padding: 3px;
margin-right: 4px;
margin-bottom: 8px;
font-family: tahoma, arial, sans-serif;}

</style></
head><
body><form id="form1" runat="server"><div><asp:TextBox ID="Textbox1" CssClass="tb10" Text="Shajil.K" runat="server"></asp:TextBox><br /><asp:TextBox ID="Textbox2" CssClass="tb11" Text="Shajil.K" runat="server"></asp:TextBox><br /><asp:TextBox ID="Textbox3" CssClass="tb12" Text="Shajil.K" runat="server"></asp:TextBox><br /><asp:TextBox ID="Textbox4" CssClass="tb13" Text="Shajil.K" runat="server"></asp:TextBox><br /><asp:TextBox ID="Textbox5" CssClass="tb14" Text="Shajil.K" runat="server"></asp:TextBox><br /></div></form></
body></
html>