Htmlのテーブルを画面にフルサイズで表示したいので
以下のコードを書きました。
これ先頭の<!doctype html>を削除すると正しく縦横画面フルで表示されますが
<!doctype html>がついていると上によってしまいます。
これを<!doctype html>あっても正しくフルで表示するようにしたいのですが
それにはどこを修正すればいいのでしょうか?
追記
<html lang="ja" style="width: 100%; height: 100%;">
でFULLにはなりましたが今度はボタンがフルになりません。
```lang-html
<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>alertのサンプル</title>
<meta http-equiv="content-style-type" content="text/css">
<script type="text/javascript" src="/pass/kakunin.js"></script>
</head>
<body style="width: 100%; height: 100%;">
<table style="width: 100%; height: 100%;" >
<tr >
<td><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('a')">ボタン1</button></td>
<td><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('b')">ボタン2</button></td>
<td><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('c')">ボタン3</button></td>
</tr>
<tr >
<td><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('d')">ボタン4</button></td>
<td><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('e')">ボタン5</button></td>
<td><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('f')">ボタン6</button></td>
</tr>
<tr >
<td><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('g')">ボタン7</button></td>
<td><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('h')">ボタン8</button></td>
<td><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('i')">ボタン9</button></td>
</tr>
<tr >
<td colspan="3"><button style="width: 100%; height: 100%;" type="button" onclick="fncCall('j')">ボタン0</button></td>
</tr>
<tr >
<td colspan="3"><button style="width: 100%; height: 100%;" type="button" onclick="fncCallclr()">クリア</button></td>
</tr>
</table>
</body>
</html>
```
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/12/01 07:17