title: fixing the gridview column width not working.
body: <p>I have the following code. I have set the <code>width="150px"</code> for footerstyle,rowstyle and headerstyle.</p>
  
  <p><strong>Code</strong>:     </p>
  
  <pre><code>&lt;strong&gt;Title&lt;/strong&gt;&lt;br /&gt;
          &lt;asp:GridView ID="socGridView" runat="server"
          CaptionAlign="Top" HorizontalAlign="Justify"  
          DataKeyNames="id"  onselectedindexchanged="socGridView_SelectedIndexChanged"
          ToolTip="Excel FIle DownLoad Tool" CellPadding="4" ForeColor="#333333" 
          GridLines="None"&gt;
  
          &lt;RowStyle width = "150px"   BackColor="#E3EAEB" /&gt;
              &lt;Columns&gt;
              &lt;asp:CommandField ShowSelectButton="True" SelectText="Download" ControlStyle-ForeColor="Blue"/&gt;
              &lt;/Columns&gt;
           &lt;FooterStyle width = "150px"  BackColor="#1C5E55" Font-Bold="True" ForeColor="White" /&gt;
           &lt;PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" /&gt;
           &lt;SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" /&gt;
           &lt;HeaderStyle width = "150px"  BackColor="Gray" Font-Bold="True" ForeColor="White" /&gt;
           &lt;EditRowStyle BackColor="#7C6F57" /&gt;
           &lt;AlternatingRowStyle BackColor="White" /&gt;
  </code></pre>
  
  <p>However, it doesn't work for me.Is there any way to solve this?</p>