title: how to change multiple asp.net textbox or labels or tags in different style with CSS or CSSClass or in C#?
body: <pre><code>&lt;asp:TextBox ID="givennametb" runat="server" BackColor="White" ForeColor="Black" Width="145px" CssClass="textbox"&gt;&lt;/asp:TextBox&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  &lt;asp:TextBox ID="familynametb" runat="server" BackColor="White" ForeColor="Black" Width="145px"&gt;&lt;/asp:TextBox&gt;
  </code></pre>
  
  <p>I wrote this piece of code. Now I want to change <code>bordercolor</code> of <code>givennametb</code> <code>textBox</code> to blue and <code>familynametb</code> to red. </p>
  
  <p>I do not want to do it inline with<code>BorderColor:"blue/red"</code>. I want to use CSS/CSSClass. I am using C# with ASP.NET. If I do <code>cssClass="textbox"</code> and try to change in style, all tags are changing to same color. I want to change separately.</p>