看板 Web_Design 關於我們 聯絡資訊
想請問版上各位,最近無聊在做一個購物車 在顯示頁面 https://imgur.com/wC1inc4 該如何讓紅框中的,數字對齊總計欄位呢? 最後一欄的程式碼: <td colspan=6 class=text-right>5600</td> -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 49.213.185.143 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1605859162.A.74A.html
tino1991: <td colspan=5></td><td>5600</td> 試試? 11/20 16:09
laechan: 同上,最後用 <th>5600</th> 它會跟總計一樣置中並黑體 11/20 16:17
laechan: 不黑體就 <td align=center>5600</td> 11/20 16:18
spong: 嗚呼~~成功了,感謝神人相救,光調這個讓我花了一小時 11/20 22:35
iamaustin316: 用css 11/21 22:11