teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

コード修正、画面表示およびやりたいこと修正

2020/09/04 01:31

投稿

kansai5963
kansai5963

スコア25

title CHANGED
File without changes
body CHANGED
@@ -4,22 +4,55 @@
4
4
  ブラウザはIE11を使用しており、コードはVisualStudioCodeを使用しております。
5
5
 
6
6
  ```html
7
- <td align="center" height="47" width="212">
8
- <label>
9
- <input type="text" name=kosu style="background:white; color:#000000;" align="middle" value="86行目"><input type="text" name=kosu2 style="background:white; color:#000000;" align="middle" value="87行目">
10
- </label>
11
- <label>
12
- <input type="text" name=kosu3 style="background:white; color:#000000;" align="middle" value="88行目"><input type="text" name=kosu4 style="background:white; color:#000000;" align="middle" value="89行目">
13
- </label>
7
+ <div style="top : 161px;left : 8px; position : absolute; z-index : 4; width : 847px; height : 252px; " id="Layer5">
8
+ <div style="background: white; padding: 10px; margin-bottom: 10px; border: 1px solid #333333">
9
+ <table border="1" height="252" width="818">
10
+ <tr bgcolor="gray" style="color:white" height="50">
11
+ <th height="42" width="92"><b>列1</b></th>
12
+ <th height="42" width="212">列2・列3<br>列4・列5</th>
13
+ <th height="42" width="137">列7/列8</th>
14
+ <th height="42" width="189"><b>列9/列10</b></th>
15
+ </tr>
16
+ <tr bgcolor="lightyellow">
17
+ <td align="center" height="47" width="92">
18
+ <input type="text" name=列1 style="background:white; color:#000000;" align="middle" value="83行目">
14
19
  </td>
20
+ <td align="center" height="47" width="312">
21
+ <input type="text" name=列2 style="background:white; color:#000000;" align="middle" value="86行目">
22
+ <input type="text" name=列3 style="background:white; color:#000000;" align="middle" value="87行目">
23
+ <input type="text" name=列4 style="background:white; color:#000000;" align="middle" value="88行目">
24
+ <input type="text" name=列5 style="background:white; color:#000000;" align="middle" value="89行目">
25
+ </td>
26
+ <td align="center" height="47" width="137"><input type="text" name=列7 style="background:white; color:#000000;" align="middle" value="92行目">
27
+ <span>
28
+ <input type="text" name=列8 style="background:white; color:#000000;" align="middle" value="93行目">
29
+ </span>
30
+ </td>
31
+ </div>
32
+ <td align="center" height="47" width="189"><input type="text" name=列9 style="background:white; color:#000000;" align="middle" value="96行目">
33
+ <input type="text" name=列0 style="background:white; color:#000000;" align="middle" value="97行目">
34
+ </td>
35
+
36
+ </tr>
37
+ <tr>
38
+ <td align="center" height="47" width="92"></td>
39
+ <td align="center" height="47" width="212"></td>
40
+ <td align="center" height="47" width="137"></td>
41
+ <td align="center" height="47" width="189"></td>
42
+ </tr>
43
+ </table>
44
+ </div>
45
+ </div>
15
46
  ```
16
47
 
17
48
  【上記で表示させた場合】
18
-   86行目
49
+ ーーーーー|  86行目  |ーーーーー|
19
-   87行目
50
+ ーーーーー|  87行目  |ーーーーー|  96行目 
20
-   88行目
51
+ 83行目  |  88行目  |  92行目|  97行目
21
-   89行目
52
+ ーーーーー|  89行目  |ーーーーー|
22
53
 
23
54
  【やりたいこと】
55
+ ーーーーー|ーーーーーーーーーー|ーーーーー|
56
+ ーーーーー|  86行目|87行目 |ーーーーー|  96行目 
24
-   86行目   87行目
57
+ 83行目  |  88行目|89行目 |  92行目|  97行目
25
-   88行目   89行目
58
+ ーーーーー|ーーーーーーーーー|ーーーーー|