I'm trying to make a column layout, with content in each, and I want them to be the same height but I'm not able to get it to work.
One of the columns is higher than the others, and it stretches the whole row,
but not the other columns, also vertically centering content.
height 100% on span4 didn't help.
<div class="row">
<div class="span4">
<h3>Header 1</h3>
<p>...</p>
<div style="text-align: center">
<a class="btn btn-success" href="">Some Button</a>
</div>
</div>
<div class="span4">...</div>
<div class="span4">...</div>
</div>
Simplified Css:
.row{width:100%;}
.span4{
float:right;
width:32%;
margin-right:1%;
border-radius:6px;
}
Existing:
Desired:
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…