The following code simulates the original
.padre{
border: 1px;
display: inline-block;
width: auto;
margin: 0 20px;
text-align: justify;
}
<div class="padre">
<div>
<h2> HIJO 1 CON TEXTO</h2>
<p> texto muy largo pero muy muy largo <p>
</div>
<div>
<h2> HIJO 2 CON TEXTO MAS COOL </h2>
<p> otro texto muy largo pero muy muy largo <p>
</div>
</div>
The problem I have is that, although my paintings are side by side, the texts are not evenly vertical. Apart the frames of the two boxes in the center are very close. How could I separate them without the margin of the page being uneven?