title: Gridview inline style
body: <p>I cannot figure this out.  I have always used CSS to set my gridview styles.  I need to export a gridview to word so I need to use inline styles to have the formatting passed to word.  Can someone help me convert the following CSS to a column HeaderStyle .</p>
  
  <pre><code>.AL_SubTotal_Row_1_RG
   {
      background-color:#77A78C; 
      font-weight:bold;
      border-right: 1px solid #8F8F8F;
      border-bottom: 1px solid #000000;
      text-align: center;
   }
  </code></pre>
  
  <p>I have this much of it done.  I do not know how to handle the individual borders.</p>
  
  <pre><code> "&lt;HeaderStyle HorizontalAlign="center" BackColor="#77A78C" BorderStyle="Solid" Font- bold="true /&gt;"
  </code></pre>