【发布时间】:2016-04-21 19:53:04
【问题描述】:
我的table 的第一列中的checkboxes 无法在右侧对齐。
<form>
<div>
<table>
<th>Trail</th>
<th>Year</th>
<th>Mileage</th>
<th>Direction</th>
<tr>
<td>
<label for="AT">AT</label>
<input type="checkbox" id="AT" name="AT" value="Yes">
</td>
我正在使用CSS 代码:
input [type=checkbox] {
text-align: right;
}
【问题讨论】:
-
我的答案应该可以解决。
标签: html css html-table text-align