title: How to set style to the cells within the gridview header - asp.net
body: <p>I've been a while without dealing with html issued, specially with aspx controls since I was working till now with asp and vb6. Well, after this intro I'll pass to the question:
  I've found a way to stylize a GridView using CSS, this way:</p>
  
  <pre><code>&lt;asp:GridView ID="myGrid" runat="server" CssClass="workGrid"&gt;
  </code></pre>
  
  <p>and then I specify the different sections styles from the CssClass, this way:</p>
  
  <pre><code>.workGrid th /* for the header */
      {
          BORDER-BOTTOM: 2px solid black;
          BORDER-LEFT: 0px none;
          BORDER-RIGHT: 0px none;
          BORDER-TOP: 0px none;       
          FONT-SIZE: 9pt;
          FONT-WEIGHT: bolder;
          }
  
      .workGrid td /* for the body */
      {
          border-style: none;
          border-width: 0px;
          }
  </code></pre>
  
  <p>The issue now is than I can't stylize the cells within the header, just can change the entire header through the "th" style...</p>
  
  <p>Could someone give me a hand on this? Thanks!</p>