point テーブルのサイズを指定する

<table width="ピクセル値または%" height="ピクセル値または%">

<table>タグに、width属性をつけてテーブルの横幅を、height属性をつけてテーブルの高さを指定することができます。サイズの指定はピクセル値、もしくは%(画面などに対する割合)で指定します。

現在テーブルのサイズは、CSSのwidthプロパティとheightプロパティで指定出来ますので、width属性とheight属性のどちらも使用しない方が良いでしょう。

サンプル - Microsoft Internet Explorer
6/36/46/5
休み学校バイト

HTML
<table border="1" width="120" height="120">
<tr>
<td>6/3</td><td>6/4</td><td>6/5</td>
</tr>
<tr>
<td>日</td><td>月</td><td>火</td>
</tr>
<tr>
<td>休み</td><td>学校</td><td>バイト</td>
</tr>
</table>

サンプル - Microsoft Internet Explorer
6/36/46/5
休み学校バイト

HTML
<table border="1" width="200" height="200">
<tr>
<td>6/3</td><td>6/4</td><td>6/5</td>
</tr>
<tr>
<td>日</td><td>月</td><td>火</td>
</tr>
<tr>
<td>休み</td><td>学校</td><td>バイト</td>
</tr>
</table>

サンプル - Microsoft Internet Explorer
6/36/46/5
休み学校バイト

HTML
<table border="1" width="250" height="100">
<tr>
<td>6/3</td><td>6/4</td><td>6/5</td>
</tr>
<tr>
<td>日</td><td>月</td><td>火</td>
</tr>
<tr>
<td>休み</td><td>学校</td><td>バイト</td>
</tr>
</table>
 

スポンサード・リンク