あああ | いいい |
あああ | いいい |
あああ | いいい |
<style type="text/css">
.whButton { width:auto; height:30px; }
.whTextarea { width:80%; height:5em; }
.whSelect { width:200px; }
.whTable { width:auto; }
</style>
<p>
<input type="button" class="whButton" value="ボタン" />
</p>
<p>
<textarea class="whTextarea">width:80%; height:5em; を指定しています。</textarea>
</p>
<p>
<select class="whSelect">
<option value="">▼選択してください</option>
<option value="1">項目1</option>
<option value="2">項目2</option>
<option value="3">項目3</option>
</select>
</p>
<table class="whTable" border="1">
<tr><td>あああ</td><td>いいい</td></tr>
<tr><td>あああ</td><td>いいい</td></tr>
<tr><td>あああ</td><td>いいい</td></tr>
</table>