我在CSS中嘗試了很多「顯示」參數,似乎沒有人能夠設置正確的對齊方式,請幫我解決它。圖像和文字不對齊到中間
<div id="fadeshow2toggler" style="text-align:center; width:290px;">
<a href="#" class="prev"><img src="http://i31.tinypic.com/302rn5v.png"/></a>
<div class="status">1 of 1</div>
<a href="#" class="next"><img src="http://i30.tinypic.com/lzkux.png"/></a>
</div>
什麼是這裏的目標是什麼?粘貼你有我看到一列:圖像,文字,圖像都集中。 – Adam 2010-10-18 13:58:36
你試圖將哪些元素居中,在哪些元素之內? 'display'屬性不直接控制水平對齊。 – 2010-10-18 13:59:05
做一些搜索...例如http://stackoverflow.com/questions/732139/vertical-align-middle-does-not-align-to-the-middle-in-firefox – bjudson 2010-10-18 14:00:54