title: What's the best way to make a search box with auto-suggest appearing on top of other elements?
body: <p>I've made a search box with auto-suggestions. I don't want to have the suggestions push down the other elements on the page. </p>
  
  <p>What I did to fix this:</p>
  
  <p>I gave the suggestions <code>position: fixed</code> and added a window event listener to update its <code>top</code> and <code>left</code> on scroll, to make it appear as if it's dropping down from the search box.</p>
  
  <p>This is quite obviously not a good way to achieve this at all. Can anyone give pointers on how to improve this, please? Thanks!</p>