I am facing an issue with my three side by side divs, where if I insert too much text inside the div, it gets pushed down onto a new line.
.consoleRed {
background: #d83435;
border-radius: 5px;
border: 1px #000 solid;
color: #fff;
margin: 5px;
}
.consoleIcon {
float: left;
}
.consoleDesc {
float: left;
vertical-align: top;
}
.consoleDesc h3 {
margin: 1px;
padding: 1px;
font-size: 14px;
}
<div class="container">
<h2>Select a Console</h2>
<div class="col-lg-4 consoleRed">
<div class="consoleIcon"><img width="64" height="64" src="images/3ds.png"></div>
<div class="consoleDesc">Little Text is fine</div>
<div class="clearfix"></div>
</div>
<div class="col-lg-4 consoleRed">
<div class="consoleIcon"><img width="64" height="64" src="images/3ds.png"></div>
<div class="consoleDesc">When I add too much text, the entire div shifts to a new line</div>
<div class="clearfix"></div>
</div>
<div class="col-lg-4 consoleRed">
<div class="consoleIcon"><img width="64" height="64" src="images/3ds.png"></div>
<div class="consoleDesc">Not sure why</div>
<div class="clearfix"></div>
</div>
</div>