私はインラインにそのディスプレイを設定しようとしているので、2テーブルのインラインを表示する。それは失敗:(2つのテーブルをインラインスタイルで表示するにはどうすればいいですか?
をインラインで表示されるためにそれらを設定する最も簡単な方法は何ですか?
table {
display: inline;
}
table, td, th {
border: 1px solid black;
}
<table>
<tr>
<th>Firstname</th>
<th>Lastname</th>
</tr>
<tr>
<td>Lois</td>
<td>Griffin</td>
</tr>
</table>
<table>
<tr>
<th>Firstname</th>
<th>Lastname</th>
</tr>
<tr>
<td>Lois</td>
<td>Griffin</td>
</tr>
</table>
これは申し訳ありませんが、私はあなたが期待しているのかわから – Weedoze
@Weedozeを進めています。 –
...上記のコードで私の境界線スタイルを欠場はないが、あなたの例では、何が期待されdoest – Goombah