title: how to assign fixed podition within a div to make it responsive?
body: <p>Hi assigned a fixed position on a div embeded in another div. But I am not able to get it responsive across display size. I want the #fixed div to stay fixed on the right side of my page and keep same position across display sizes. </p>
  
  <pre><code>html form
  
  &lt;div id="main"&gt;
  &lt;div id="fixed"&gt;&lt;/div&gt;
  &lt;/div&gt;
  
   css
   #main {
        position:relative;
        margin: 0 auto; 
        }
  
  #fixed {
         position:fixed;
         left: 80%;
         top: 40%; 
     }
  </code></pre>