title: Specifying Images Sizes in ASP.NET
body: <p>If I have the following :-</p>
  
  <pre><code>&lt;asp:image height="54" width="54" runat="server" id="imgA" imageurl="/pic.jpg" /&gt;
  </code></pre>
  
  <p>when it get compiled, it comes out as :-</p>
  
  <pre><code>&lt;img src="/pic.jpg" style="height:54;width=50;" id="imgA"/&gt;
  </code></pre>
  
  <p>Whenever I put it through Google tools, it says to improve the page, I need to put the size which it expects it in the non-style format.  Is there anyway to force the .NET compiler to compile to the non-style format so the result is :-</p>
  
  <pre><code>&lt;img src="/pic.jpg" height="54" width="50" id="imgA"/&gt;
  </code></pre>
  
  <p>or is the only way is to use img rather than asp:image ?</p>