html 文字居中怎么写?

来源:百度知道 编辑:UC知道 时间:2024/06/10 13:55:36
同一行中,比如有"教育"\"难度"和"我们",我想教育居中,难度和我们在在最右边,代码怎么写?

是这样的么?

<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100" height="25"> </td>
<td width="100" align="center">教育</td>
<td width="100" align="right">难度 | 我们 </td>
</tr>
</table>