title: Click to Change image not working in Android 2.2 App
body: <p>In <strong>Android 2.2</strong> app if I click an icon, I want it to change but when I clicked. The hover &amp; active is not working.. it remains same no changes occur while I click...</p>
  
  <p>Note : This code is working properly in Android 4.0, iOS, BB &amp; Windows Mobile.</p>
  
  <p>My Code</p>
  
  <p>HTML : </p>
  
  <pre><code>&lt;div&gt;
      &lt;span&gt;
          &lt;a href="page1.html"&gt;
           &lt;span class="icon"&gt;&amp;#32;&lt;/span&gt;
          &lt;/a&gt;
      &lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS :</p>
  
  <pre><code>.icon {background: url(../images/iconContain.png) no-repeat scroll -136px -197px transparent;display: block;height: 40px;width: 43px;}
  .icon:active {background: url(../images/iconContain.png) no-repeat scroll -194px -197px transparent;display: block;height:40px;width:43px;}
  .icon:hover {background: url(../images/iconContain.png) no-repeat scroll -194px -197px transparent;display: block;height:40px;width:43px;}
  </code></pre>