title: Print function printing columns that should be side by side down the page instead
body: <p>What should be printing
  <a href="https://i.stack.imgur.com/2o4t2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2o4t2.png" alt="enter image description here" /></a></p>
  <p>Whats actually printing</p>
  <p><a href="https://i.stack.imgur.com/nvQq3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nvQq3.png" alt="enter image description here" /></a></p>
  <p>Here is the code for the print function</p>
  <pre><code>function removeLinks(printDiv) {
              var all_links = document.getElementById(printDiv).getElementsByTagName(&quot;a&quot;);
  
              for (var i = 0; i &lt; all_links.length; i++) {
                  all_links[i].removeAttribute(&quot;href&quot;);
              }
          }
  
          function printdiv(printDiv) {
              var divCaseNote = document.getElementById(printDiv);
              var oldstr = document.body.innerHTML;
              var oldTitle = document.title;
  
              if (divCaseNote != null) {
                  divCaseNote.style = &quot;padding: 20px;&quot;;
                  innerHTML = divCaseNote.innerHTML;
              }
  
              removeLinks(printDiv);
  
              var headstr = &quot;&lt;html&gt;&lt;head rel=\&quot;stylesheet\&quot; media=\&quot;print\&quot; link href=\&quot;/CSS/print.css\&quot;/&gt;&lt;title&gt; &lt;/title&gt;&lt;/head&gt;&lt;body&gt;&quot;;
              var footstr = &quot;&lt;/body&gt;&quot;;
              var newstr = document.getElementById(printDiv).innerHTML;
              document.body.innerHTML = headstr + newstr + footstr;
              document.title = oldTitle.replace(&quot; - View Case Note&quot;, &quot;&quot;);
  
              window.print()
  
              document.body.innerHTML = oldstr;
              document.title = oldTitle;
          }
  </code></pre>
  <p>When I check out the HTML output it has all the div tags defined with the correct column sizes but these aren't transferred over when it prints. Does anyone know why these columns are printing one after the other as opposed to side by side.</p>