我对 Stack Overflow 还是很陌生,还在学习编程。我想以相等的间距并排放置两个表格,并防止表格接触页面的两侧。我写了这段代码,但没有得到正确的结果:
<table style="float:right; background-color: white;font-family: cursive,sans-serif; border-radius: 8%; border-color: white" border="0" width="420px" height="216px" >
<tr style='float: left; background-color: white; border-radius: 3%; border-color: white;' width='200px' height='54px'>
<td style='font-family: cursive,sans-serif; border-color: white; ;' width='200px' height='54px'>From</td>
<td style="font-family: cursive,sans-serif; border-color: white; border-radius: 3%" width='200px' height='54px'>To</td>
</tr>
</table>
<table align="center" style=" float:left; background-color: white;font-family: cursive,sans-serif; border-radius: 8%; border-color: white" border="1" width="420px" height="216px">
</table>