我想對齊所有三個圖像,使它們均勻地居中在行中。試圖對齊twitter引導中的三個圖像2.3.2行/跨度
這裏是標記的小提琴,http://jsfiddle.net/bkmorse/btCRk
<div class="container"
<div class="row" style="border:1px solid red;">
<div class="span12">
<a href="" class="share-icon facebook" title="Share on facebook">share on facebook</a>
<a href="" class="share-icon twitter" title="Share on twitter">share on twitter</a>
<a href="" class="share-icon email" title="Share in an email">send an email</a>
</div>
</div>
</div>
a.share-icon {
height:64px;
display: inline-block;
width:64px;
text-decoration: none;
text-indent: -10000px;
font-size: 0px;
line-height: 0px;
}
a.share-icon.facebook {
background: #fff url('http://f.cl.ly/items/3F1o172Z1o0824021F2C/facebook.jpg') no-repeat;
}
a.share-icon.twitter {
background: #fff url('http://f.cl.ly/items/3C3I1B0g0o0V3V1Z3i2I/twitter.jpg') no-repeat;
}
a.share-icon.email {
background: #fff url('http://f.cl.ly/items/3E1e0o3a0s0I3G3r2X2T/email.jpg') no-repeat;
}
我已經嘗試文本對齊:中心;我試過拉左/右。我沒有任何運氣。任何幫助表示讚賞。
謝謝!
文本對齊:中心.span12應該做的伎倆,看到這個更新版本的http:/ /jsfiddle.net/btCRk/6/ – Valentin