title: I have divs under a sticky header but if they are floated the header dosne't stick anymore
body: <p>I've figured out that the floating elements are what is causing the problem.</p>
  
  <p>Here is my code</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#header {
    position: sticky;
  }
  
  #main {
    width: 100%;
  }
  
  #content {
    width: 50%;
    float: left;
    height: 800px;
    box-sizing: border-box;
    border: solid red;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
    &lt;h1 id="header"&gt;Header&lt;/h1&gt;
    &lt;div id="main"&gt;
      &lt;p id="content"&gt;words&lt;/p&gt;
      &lt;p id="content"&gt;words&lt;/p&gt;
    &lt;/div&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>On my site, I am using the RWD column design by W3 if that is relevant. It just formats the width and floats anything with the specific class.</p>