title: How to click the image link by selenium webdriver?
body: <p>I have the following html page source, and I tried to click the image by xpath/cssselector. none can work, could you help me to find the issue with my code? I use IE9.</p>
  
  <pre><code>&lt;pretable border="0" cellpadding="0" cellspacing="0" width="700"&gt;
        &lt;tr&gt;
           &lt;td rowspan="2" width="120"&gt;
            &lt;a href="#" onclick="oCMenu.m['top1'].b.moveIt(8,60); oCMenu.showsub('top1'); " 
              onclick="return false" class="FontNormal"&gt;
             &lt;img border="0" src="images/shim.gif" width="112" height="73"&gt;&lt;/a&gt;&lt;/td&gt;  
         &lt;/tr&gt;
    &lt;/pretable&gt;
  </code></pre>
  
  <p>my code is:</p>
  
  <pre><code>    ieDriver.findElement(By.xpath("//html/table/tr[1]/td/a[@class='FontNormal']/img[@src='images
       /shim.gif']")).click();
  
      ieDriver.findElement(By.cssselector("class='FontNormal'")).click();
  </code></pre>