title: Align text in a GridViewTemplate field TextBox
body: <p>I need to align text to right in a <code>TextBox</code> which is in a <code>GridView</code> <code>TemplateField</code></p>
  
  <p>This is <code>TemplateField</code> HTML:</p>
  
  <pre><code>&lt;asp:TemplateField HeaderText="Description"&gt;
      &lt;ItemTemplate&gt;
      &lt;div style="text-align: right;"&gt;
          &lt;asp:TextBox ID="txtDeductAmount" runat="server" Text="" BorderWidth="1px"&gt;&lt;/asp:TextBox&gt;
      &lt;/div&gt;
      &lt;/ItemTemplate&gt;
  &lt;ItemStyle Width="80px" HorizontalAlign="Right" /&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>
  
  <p>This still aligned to left side. How to force text to align to right?</p>
  
  <p><strong>NOTE :</strong> <code>&lt;ItemStyle Width="80px" HorizontalAlign="Right" /&gt;</code> aligns bound field text to right side properly.</p>