title: Need gridview with some outer border and different inner border (.net web application)
body: <p>I want to have a gridview with a red outer border and blue inner separator lines and used this markup/css:</p>
  
  <pre><code>&lt;asp:GridView runat="server" ID="entries" CssClass="grid" AutoGenerateColumns="false"&gt;
      &lt;Columns&gt;
          &lt;asp:BoundField DataField="Id" HeaderText="Id" /&gt;
          &lt;asp:BoundField DataField="Name" HeaderText="Name" /&gt;        
      &lt;/Columns&gt;        
   &lt;/asp:GridView&gt;
  
  .grid
  {
  border: solid 1px Red !important;
  }
  
  .grid td
  {
  border: solid 1px Blue;
  }
  </code></pre>
  
  <p>But the result is that only the header row has a red outer border, not the others.<br/>
  I also tried RowStyle in the same way, with no success.<br/>
  Tested in IE 9, Chrome.</p>