How do I make the text stay inside the div? and break the lines instead of getting off the div? I am working with two divs one for the navbar and one for the content ... so inside the content I have this div that I put the text, when the text is too large it increases the div content and decreases the navbar, as I do to leave the navbar with the fixed size independent of the size of the text and not let the text get out of the div?
DivDescricao {
min-height: 150px;
border: 1px solid #C8C7C7;
margin: 10px;
padding: 10px;
border-left: 10px solid #C8C7C7;
background: white;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
<div id="fases" class="col-md-12" style="height:200px">
<div class="DivDescricao" style="background:red;">
<h4> Fase 1 </h4>
<b> Descrição:</b> sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssasda
<br> ihasdhalshd ahsdkjahskdh kashdk ashk hask dhaskjd aksdhk ahskd jhk
<br>
<b> Situação: </b> Em andamento
<br>
<a> Detalhar </a>
</div>
</div>