title: Make position:fixed div dynamic width in pixels on CSS
body: <p>I created a simple markup with <code>position:fixed</code> &lt;div&gt; header that has two hyperlinks. Next I want that div to dynamically match the width of the content of the page. </p>
  
  <p>The problem here is that the dimensions of the page's content are controlled by padding of the body element that is set in pixels. </p>
  
  <p>Here is the fiddle that describes the situation: <a href="http://jsfiddle.net/jn7z1wke/2/" rel="nofollow">http://jsfiddle.net/jn7z1wke/2/</a></p>
  
  <p>Googling says that the width of the fixed element could be controlled dynamically in percents (like it is shown in the fiddle <code>width: 95%;</code> but that doesn't solve my problem - I need the width of the fixed div to be dynamically adjusted in pixels.</p>
  
  <p>I perfectly know how to do that on JS/JQuery but ultimately I want to do that on plain CSS.</p>