Saturday, January 28, 2012

Css Class for textbox in asp.net

Css Class for textbox in asp.net

Introduction : In this i will show you Css Class for textbox in asp.net . You just need apply cssClass that on textbox .

Css Class for TextBox :

<style type="text/css">
    .txtclass
    {
        font-family: Tahoma,Arial, Helvetica, sans-serif;
        font-size: 11px;
        color: #000000;
        font-weight: normal;
        text-decoration: none;
        border: 1px solid #888888;
    }
</style>

Apply Css Class to textbox as follow : 

<asp:TextBox ID="txtname" CssClass="txtclass" runat="server"></asp:TextBox>

Related Other posts

0 comments:

Post a Comment