title: How generate width html element to fill rest of width window
body: <p>I would ask how i can set css to set width of element to fill rest of width window screen  without using unit of measure (px, pt, et).</p>
  
  <p>for example i have two div</p>
  
  <pre><code>&lt;div id="div1"&gt;&lt;/div&gt;
  &lt;div id="div2"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>some css</p>
  
  <pre><code>#div1{
     width:200px;
     height: 40px;
     float: left;
     border: 1px solid black;
  }
  #div2{
    width: // here what i should set to get rest of window screen until 100%,
           // depending on resolution. When i try set param auto this param 
           // work that resize my div when i put something into, but i except 
           // at start already set rest of window width. It is possible to set 
           // this value without using javascript only in CSS??
    height: 40px;
    float: left;
    border: 1px solid black;
  }
  </code></pre>