title: How to make image button has pressed effect?
body: <p>I use asp .net image button to show a static jpeg file,
  How to make image button has pressed effect</p>
  
  <p>This is what I have so far: </p>
  
  <pre><code>&lt;asp:ImageButton ID="Login_Button" runat="server" onclick="Login_Button_Click" ImageUrl="~/Image/Login.jpg" /&gt; 
  </code></pre>
  
  <p>How to remove red cross when ImageUrl not set?</p>
  
  <p></p>
  
  <pre><code>.Login
          {
              height:50px; 
              width:100px;
              margin: 5px; 
  
              background: url(Image/Login.jpg) no-repeat 0 0;
          }
  
          .Login:hover
          { 
              background: url(Image/Login_Pressed.jpg) no-repeat 0 0;
          }
  </code></pre>