title: How do I align two elements on the same line?
body: <p>I would like for my 'Acme Web Design' header and navigation all to be on the same line? </p>
  
  <p>I have tried to change the bottom margin for the navigation to make it position on the same line as my header but that doesn't seem to work.</p>
  
  <p>Snippet of my HTML and CSS file:</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 {
      background-color: #35424a;
      border-bottom: 2px solid #ff6600;
      color: white;
      padding-top: 30px;
      min-height: 70px;
  }
  
  nav {
  float: right;
  margin-bottom: 30px;
  }
  
  nav a {
      color: white;
      text-decoration: none;
      padding: 10px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;header&gt;
      &lt;div class="container"&gt; 
    &lt;div id="top header"&gt;
     &lt;h1&gt;Acme Web Design&lt;/h1&gt;
    &lt;/div&gt;
    &lt;nav&gt;
     &lt;a href="index.html"&gt;HOME&lt;/a&gt;
     &lt;a href="about.html"&gt;ABOUT&lt;/a&gt;
     &lt;a href="services.html"&gt;SERVICES&lt;/a&gt;
    &lt;/nav&gt;
   &lt;/div&gt;
  &lt;/header&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Here is how it looks like with my HTML and CSS file:</p>
  
  <p><a href="https://i.stack.imgur.com/k8fhs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k8fhs.png" alt="enter image description here"></a></p>
  
  <p>This is how I want it to look like:</p>
  
  <p><a href="https://i.stack.imgur.com/rORjL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rORjL.png" alt="enter image description here"></a></p>