我正在致力於通訊HTML,並且我無法給中心對齊div。如何將按鈕對齊到div的中心。以下是簡單代碼如何在不使用保證金的情況下在div中對齊錨點
<table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
<td>
<div style="text-align:center;">
<a href="#" style="display:block; width:150px; text-decoration:none; font-weight:bold; color:#fff; background:#c72622; font-size:20px; border-radius:7px; -webkit-border-radius:7px; padding-top:10px; padding-bottom:10px;">
Buy Now
</a>
</div>
</td>
</tr>
</table>
是有人幫助我:S ???它已經2小時沒有響應了:( –