title: Xpath for selecting inner text of an element
body: <p>I need to select the following element on a webpage</p>
  
  <pre><code>&lt; td colspan = "1" &gt;
  &lt; span class="text-left"&gt;
  &lt;strong&gt;QTY Total
  &lt;/strong&gt;&lt;/span&gt;
  &lt;span style = "float: right;" &gt;
  &lt; strong &gt; 20.99 &lt;/ strong &gt;
  &lt;/ span &gt; 
  &lt;/ td &gt;
  </code></pre>
  
  <p>The element I need to extract is the 20.99 text which is a child element</p>
  
  <p>I have tried the following to locate the element and it returns nothing</p>
  
  <pre><code>$x("//*[@style='float: right;' and contains(text(), '20.99')]")
  </code></pre>
  
  <p>I tried two locate the element using the following</p>
  
  <pre><code>$x("//*[@style='float: right;']")
  </code></pre>
  
  <p>But this locates to elements with the same style.</p>
  
  <p>Does anybody know an Xpath I can try which will locate the 20.99?    </p>