デモでわかるように、 を追加すると<em>
、<button>
置き換えられます。
button
を の垂直方向の中央に配置したいと思いfooter
ます。
デモ: http://jsfiddle.net/chovy/5h5hc/1/
HTML
<footer>
<button class="btn-primary">Reply</button>
</footer>
<footer>
<em></em>
<button class="btn-primary">Reply</button>
</footer>
CSS
footer {
display: block;
height: 50px;
line-height: 50px;
border: 1px solid red;
padding: 0 20px;
text-align: right;
margin-top: 20px;
}
em {
display: inline-block;
height: 50px;
width: 50px;
border: 1px solid blue;
box-sizing: border-box;
}