JSFiddle - React, Tailwind, and code Playground
HTML
<div id="entire-Header">
<img id="the-logo" src="http://placehold.it/150x60" />
<h2 id="the-h2-Title">
<div id="headlineTextbox">This is a Test Headline</div>
</h2>
<div id="the-lines"></div>
</div>
<div id="entire-Header">
<img id="the-logo" src="http://placehold.it/150x60" />
<h2 id="the-h2-Title">
<div id="headlineTextbox">This is a different Test Headline</div>
</h2>
<div id="the-lines"></div>
</div>
<div id="entire-Header">
<img id="the-logo" src="http://placehold.it/150x60" />
<h2 id="the-h2-Title">
<div id="headlineTextbox">Another Headline</div>
</h2>
<div id="the-lines"></div>
</div>
CSS
#entire-Header {
margin: 1em 0 .5em;
}
/* http://nicolasgallagher.com/micro-clearfix-hack/ */
#entire-Header:before,
#entire-Header:after {
content: " ";
display: table;
}
#entire-Header:after {
clear: both;
}
#the-h2-Title {
margin: .5em 0;
float: left;
margin-right: 10px;
}
#the-lines {
border-top: 4px solid #000000 !important;
border-bottom: 4px solid #000000 !important;
height: 1px;
/* http://www.stubbornella.org/content/2009/07/23/overflow-a-secret-benefit/ */
overflow: hidden;
margin-top: 23px;
}
#the-logo {
width: 160px;
height: 50px;
margin-left: 10px;
float: right;
}