title: CSS: position: fixed; right margin
body: <p>I might be doing something wrong, but I want to cut off my picture on the right side.</p>
  
  <pre><code>#background 
  {
      width: 100%; 
      height: 100%; 
      position: fixed; 
      right: 20em; 
      left: 20em; 
      top: 0em;  
      z-index: -1; 
      margin-right: 20em;
  }
  </code></pre>
  
  <p>Background is a picture I want to cut off at the right side, <code>20em</code> in so I tried right margin without luck.</p>
  
  <p>But with the fixed position I can only use left or right and top. Anyone got a smart fix for this?</p>
  
  <p><a href="http://oi60.tinypic.com/21exdls.jpg" rel="nofollow">Image of website as it is</a></p>
  
  <p>EDIT: So right now the side is cut off on the left side. I want it to be cutted off on the right side too.</p>
  
  <p>I have styled margins to be 20em from left and 20 em from the right. This white transparent picture should only cover that area.</p>
  
  <p>I also need me reputation to post a picture, sadly.</p>