質問編集履歴
1
ソースの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,16 +2,42 @@
|
|
2
2
|
それを防ぐ為に印刷時<th>要素の横幅を広げてたいのですが上手く出来ません。
|
3
3
|
何が間違っているのかわかる方教えていただけませんか。
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
nyuryoku.html
|
7
6
|
```ここに言語を入力
|
7
|
+
<!DOCTYPE html>
|
8
|
+
<html>
|
9
|
+
<style>
|
8
10
|
@media print {
|
9
11
|
div {
|
10
|
-
zoom: 50%;
|
12
|
+
zoom: 50%;
|
13
|
+
}
|
14
|
+
.frm{
|
15
|
+
position:absolute; top:0px; left:0px;
|
11
16
|
}
|
17
|
+
#submit_button{
|
18
|
+
visibility: hidden;
|
19
|
+
}
|
12
20
|
th{
|
13
21
|
width=490px;
|
14
22
|
}
|
15
|
-
|
16
23
|
}
|
24
|
+
</style>
|
25
|
+
<head>
|
26
|
+
<meta charset="UTF-8" />
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
<div class="table" style='position:absolute; top:100px; left:50px;'>
|
30
|
+
<form class="frm" action="syori.php" method="POST">
|
31
|
+
<font size="5" color="#000000">
|
32
|
+
<input type="submit" id="submit_button" value="送信"><br>
|
33
|
+
<table border="1" rules="all" cellspacing="10" style="position:relative; left:5px">
|
34
|
+
<tr><th width=20>NO</th><th width=90>ああああ</th><th class="tenpo" width="300">テストああああ</th><th width=180>(L)</th><th>(M)</th><th width=180>(S)</th><th width=200>テスト改行<br>入れてみた</th></tr>
|
35
|
+
<tr><th>1</th><th><input type="hidden" name="tencode[0]" class="tencode" value="000">000</th><th><input type="hidden" name="tenname[0]" class="tenname" value="設定データ">設定データ</th><th><table><tr><th><input type='number' min='0' max='999999' maxlength='6' name="inputl[0]" class="inputl"size="20" autofocus></th><th>箱</th></tr></table></th><th><table><tr><th><input type='number' min='0' max='999999'name="inputm[0]" class="inputm" size="20" maxlength='6' ></th><th>箱</th></tr></table></th><th><table><tr><th><input type='number' min='0' max='999999'name="inputs[0]" class="inputs" size="20" maxlength='6'></th><th>箱</th></tr></table></th><th><table><tr><th><input type='number' min='0' max='999999'class="inputsum" size="20" readonly="false" ></th><th>箱</th></tr></table></th></tr>
|
36
|
+
</th></tr>
|
37
|
+
</table>
|
38
|
+
</font>
|
39
|
+
</form>
|
40
|
+
</div>
|
41
|
+
</body>
|
42
|
+
</html>
|
17
43
|
```
|