title: jquery css right on iOS
body: <p>I tried to get the position of the element from right. I defined the following in CSS</p>
  
  <pre><code>.container {
     position: absolute;
     right: 8%;
     bottom: 7%;
  }
  </code></pre>
  
  <p>I tried to get the position of the element from right using the following jquery code</p>
  
  <pre><code>$('.container').css('right');
  </code></pre>
  
  <p>which gives <strong>142px</strong> on chrome and mozilla </p>
  
  <p>but gives <strong>8</strong> (percentage) on iOS(both safari and chrome) browsers.</p>
  
  <p>Any other options in jQuery to get the value in px on iOS browsers and other browsers alike?</p>