title: Change elements position when browser changes size
body: <p>I have 2 <code>&lt;label&gt;</code> in the right corner of <code>div</code> which located in the center of browser with width/height is 200px/200px. When i change browser size my labels disappears in the right side of browser. How can i make that labels moves to the right side when browser size is changes? I try to make:</p>
  
  <pre><code>.my_label{
    position:absolute;
    right: 20px;
  }
  </code></pre>
  
  <p>But <code>right</code> property is right from the browser window, not from the div.</p>
  
  <p>I need that labels move only when it disappears with browser.</p>
  
  <p>Thank you.</p>