title: asp:Button CssClass property is not setting the CSS class to the one I specify
body: <p>I am attempting to do something simple.</p>
  
  <p>I have a button.</p>
  
  <p><code>&lt;asp:Button ID="btnMyButton" runat="server" CssClass="MyButton" CausesValidation="False" Text="ClickMe" /&gt;</code></p>
  
  <p>Its style is stored in a stylesheet that I KNOW is being used because other elements in the page use styles from this stylesheet.</p>
  
  <p>This is how I define the style:</p>
  
  <pre><code>.MyButton {
      font-size: 80pt;
      color: red;
  }
  </code></pre>
  
  <p>I have also tried some other ways to specifically point to this class (including specifically referring to it from a containing element) but to no avail:</p>
  
  <p><code>input[type="submit"].MyButton {</code>
  <code>table.MyTable &gt; tbody &gt; tr &gt; td &gt; input.MyButton {</code></p>
  
  <p>I can see in Google Chrome's Developer TOols that it is not even overriding the styles I'm setting, they are simply not there.</p>
  
  <p>When I look at the page source, I see that the input control ASP.NET generates does not even USE my class (it uses something called <code>submitBtn</code>, which I myself have not defined anywhere).  If I change this class to my one in using Google Chrome's Developer Tools, my styles apply as I would expect so I know they are usable.  I just do not know why they are not being used to begin with.</p>
  
  <p>I CAN style all buttons globally with <code>input[type="submit"] {</code>, but I am trying to style a specific one and would rather not use inline style definitions.</p>
  
  <p>Please advise.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I have found that if I call my css class in my css file <code>submitBtn</code>, it WILL apply the styles I set.  However as all of the ASP.Net buttons appear to want to use this <code>submitBtn</code> css class, in order to set a distinct style for each one I'll have to wrap them in spans or something and specifically set button styles this way.</p>
  
  <p>I still want to know why it's not letting me set the name of the style class used for the ASP.Net buttons though.</p>
  
  <p>I have updated the Question title for greater clarity.</p>