title: IE (bug) percentages with background-position
body: <p>I'm having an issue in IE only with a background image for an element in a flexible/fluid layout.</p>
  
  <p>Basically, I need the background image (which is 1px by 1px) to tile vertically. When the layout is at full width, the background image sits at <strong>676px</strong> from the left which when converted to percentages equals <strong>70.56367%</strong> (<code>676px divide by it's container of 958px</code>).</p>
  
  <p>This <strong>works fine</strong> in <strong>Firefox</strong>, <strong>Chrome</strong> and <strong>Safari</strong> however <strong>does not work in</strong> any of the <strong>IE</strong>'s (6,7 and 8). The background position only seems to work when the percentage is a full number and not a fraction ie. Background position changes when set to 70% or 71% and so on.</p>
  
  <p>Here is what I have and how it appears in the browsers:</p>
  
  <pre><code>background:url(link/to/image.gif) repeat-y 70.6680584551148% 0;/*676px/958px*/
  </code></pre>
  
  <p>I also tried setting the background position as separate X and Y values (same result though):</p>
  
  <pre><code>background-position-x:70.6680584551148%;/*676px/958px*/
  background-position-y: 0;
  </code></pre>
  
  <p><strong>Firefox</strong> (v3.6.3):</p>
  
  <p><img src="https://i.stack.imgur.com/tcxFV.png" alt="enter image description here"></p>
  
  <p><strong>Chrome</strong> (12.0.742.100):</p>
  
  <p><img src="https://i.stack.imgur.com/WllUz.png" alt="enter image description here"></p>
  
  <p><strong>Safari</strong> (5.0.2):</p>
  
  <p><img src="https://i.stack.imgur.com/U6oH0.png" alt="enter image description here"></p>
  
  <p><strong>Internet Explorer</strong> (6, 7 and 8 - all the same result):</p>
  
  <p><img src="https://i.stack.imgur.com/lDu5q.png" alt="enter image description here"></p>
  
  <p>So <strong>my question is</strong>, is this just an IE problem where the browser can not calculate a percentage that is not whole? Or, is there a fix or something I am missing?</p>