title: heading and image not aligning in header
body: <p>Here's 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 img{
   width:10%;
   vertical-align: middle;
  }
  header h1{ 
   text-align: right;
   display:inline;
   position: absolute;
  }
  header {
   width : 100%;
   height: 1% ;
   background: red;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;title&gt;Document&lt;/title&gt;
      &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"&gt;
      &lt;link rel="stylesheet" href = "css\main.css" &gt;
      &lt;link rel="stylesheet" href="css\responsive.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;header&gt;
      &lt;div class = "container-fluid"&gt;
      &lt;img src="https://pixabay.com/static/uploads/photo/2015/12/15/09/31/badge-1093966_640.png" alt=""&gt;
      &lt;h1&gt;KUNAL MEHTA&lt;/h1&gt;
      &lt;/div&gt;
      &lt;/header&gt;
      &lt;section&gt;
      
      &lt;/section&gt;
      &lt;footer&gt;
      
      &lt;/footer&gt;
  
      &lt;script src = "js/main.js"&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>What i am talking about is that i want the h1 to go to right and they both should align in the center of the parent Element.i am using BOOTSTRAP so answers with bootstraps are encouraged</p>