1

私は Stack Overflow の初心者で、まだプログラミングを学んでいます。2 つの表を等間隔で並べて配置し、表がページの端に触れないようにしたいと考えています。このコードを書きましたが、正しい結果が得られません:

<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>
4

3 に答える 3

0

このタスクには CSS3 を使用する必要があります。フレームは使用しないでください (基本的に、フレームは推奨されていません)。これを検索する必要があります。このサイトで良いスタートを見つけました:

並べて分割

幸運を。

于 2013-06-07T21:06:43.990 に答える