回答編集履歴
3
追記
test
CHANGED
@@ -24,525 +24,7 @@
|
|
24
24
|
|
25
25
|
<style type="text/css">
|
26
26
|
|
27
|
-
/* @import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700); */
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
body {
|
32
|
-
|
33
|
-
padding: 50px;
|
34
|
-
|
35
|
-
font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
36
|
-
|
37
|
-
color: #777;
|
38
|
-
|
39
|
-
font-weight: 300;
|
40
|
-
|
41
|
-
}
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
h1, h2, h3, h4, h5, h6 {
|
46
|
-
|
47
|
-
color: #222;
|
48
|
-
|
49
|
-
margin: 0 0 20px;
|
50
|
-
|
51
|
-
}
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
p, ul, ol, table, pre, dl {
|
56
|
-
|
57
|
-
margin: 0 0 20px;
|
58
|
-
|
59
|
-
}
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
h1, h2, h3 {
|
64
|
-
|
65
|
-
line-height: 1.1;
|
66
|
-
|
67
|
-
}
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
h1 {
|
72
|
-
|
73
|
-
font-size: 28px;
|
74
|
-
|
75
|
-
}
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
h2 {
|
80
|
-
|
81
|
-
color: #393939;
|
82
|
-
|
83
|
-
}
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
h3, h4, h5, h6 {
|
88
|
-
|
89
|
-
color: #494949;
|
90
|
-
|
91
|
-
}
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
a {
|
96
|
-
|
97
|
-
color: #39c;
|
98
|
-
|
99
|
-
font-weight: 400;
|
100
|
-
|
101
|
-
text-decoration: none;
|
102
|
-
|
103
|
-
}
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
a small {
|
108
|
-
|
109
|
-
font-size: 11px;
|
110
|
-
|
111
|
-
color: #777;
|
112
|
-
|
113
|
-
margin-top: -0.6em;
|
114
|
-
|
115
|
-
display: block;
|
116
|
-
|
117
|
-
}
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
.wrapper {
|
122
|
-
|
123
|
-
width: 860px;
|
124
|
-
|
125
|
-
margin: 0 auto;
|
126
|
-
|
127
|
-
}
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
blockquote {
|
132
|
-
|
133
|
-
border-left: 1px solid #e5e5e5;
|
134
|
-
|
135
|
-
margin: 0;
|
136
|
-
|
137
|
-
padding: 0 0 0 20px;
|
138
|
-
|
139
|
-
font-style: italic;
|
140
|
-
|
141
|
-
}
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
code, pre {
|
146
|
-
|
147
|
-
font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
|
148
|
-
|
149
|
-
color: #333;
|
150
|
-
|
151
|
-
font-size: 12px;
|
152
|
-
|
153
|
-
}
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
pre {
|
158
|
-
|
159
|
-
padding: 8px 15px;
|
160
|
-
|
161
|
-
background: #f8f8f8;
|
162
|
-
|
163
|
-
border-radius: 5px;
|
164
|
-
|
165
|
-
border: 1px solid #e5e5e5;
|
166
|
-
|
167
|
-
overflow-x: auto;
|
168
|
-
|
169
|
-
}
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
table {
|
174
|
-
|
175
|
-
width: 100%;
|
176
|
-
|
177
|
-
border-collapse: collapse;
|
178
|
-
|
179
|
-
}
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
th, td {
|
184
|
-
|
185
|
-
text-align: left;
|
186
|
-
|
187
|
-
padding: 5px 10px;
|
188
|
-
|
189
|
-
border-bottom: 1px solid #e5e5e5;
|
190
|
-
|
191
|
-
}
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
dt {
|
196
|
-
|
197
|
-
color: #444;
|
198
|
-
|
199
|
-
font-weight: 700;
|
200
|
-
|
201
|
-
}
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
th {
|
206
|
-
|
207
|
-
color: #444;
|
208
|
-
|
209
|
-
}
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
img {
|
214
|
-
|
215
|
-
max-width: 100%;
|
216
|
-
|
217
|
-
}
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
header {
|
222
|
-
|
223
|
-
width: 270px;
|
224
|
-
|
225
|
-
float: left;
|
226
|
-
|
227
|
-
position: fixed;
|
228
|
-
|
229
|
-
}
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
header ul {
|
234
|
-
|
235
|
-
list-style: none;
|
236
|
-
|
237
|
-
height: 40px;
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
padding: 0;
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
background: #eee;
|
246
|
-
|
247
|
-
background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
248
|
-
|
249
|
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #dddddd));
|
250
|
-
|
251
|
-
background: -webkit-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
252
|
-
|
253
|
-
background: -o-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
254
|
-
|
255
|
-
background: -ms-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
256
|
-
|
257
|
-
background: linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
border-radius: 5px;
|
262
|
-
|
263
|
-
border: 1px solid #d2d2d2;
|
264
|
-
|
265
|
-
box-shadow: inset #fff 0 1px 0, inset rgba(0, 0, 0, 0.03) 0 -1px 0;
|
266
|
-
|
267
|
-
width: 270px;
|
268
|
-
|
269
|
-
}
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
header li {
|
274
|
-
|
275
|
-
width: 89px;
|
276
|
-
|
277
|
-
float: left;
|
278
|
-
|
279
|
-
border-right: 1px solid #d2d2d2;
|
280
|
-
|
281
|
-
height: 40px;
|
282
|
-
|
283
|
-
}
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
header ul a {
|
288
|
-
|
289
|
-
line-height: 1;
|
290
|
-
|
291
|
-
font-size: 11px;
|
292
|
-
|
293
|
-
color: #999;
|
294
|
-
|
295
|
-
display: block;
|
296
|
-
|
297
|
-
text-align: center;
|
298
|
-
|
299
|
-
padding-top: 6px;
|
300
|
-
|
301
|
-
height: 40px;
|
302
|
-
|
303
|
-
}
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
strong {
|
308
|
-
|
309
|
-
color: #222;
|
310
|
-
|
311
|
-
font-weight: 700;
|
312
|
-
|
313
|
-
}
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
header ul li + li {
|
318
|
-
|
319
|
-
width: 88px;
|
320
|
-
|
321
|
-
border-left: 1px solid #fff;
|
322
|
-
|
323
|
-
}
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
header ul li + li + li {
|
328
|
-
|
329
|
-
border-right: none;
|
330
|
-
|
331
|
-
width: 89px;
|
332
|
-
|
333
|
-
}
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
header ul a strong {
|
338
|
-
|
339
|
-
font-size: 14px;
|
340
|
-
|
341
|
-
display: block;
|
342
|
-
|
343
|
-
color: #222;
|
344
|
-
|
345
|
-
}
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
section {
|
350
|
-
|
351
|
-
width: 500px;
|
352
|
-
|
353
|
-
float: right;
|
354
|
-
|
355
|
-
padding-bottom: 50px;
|
356
|
-
|
357
|
-
}
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
small {
|
362
|
-
|
363
|
-
font-size: 11px;
|
364
|
-
|
365
|
-
}
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
hr {
|
370
|
-
|
371
|
-
border: 0;
|
372
|
-
|
373
|
-
background: #e5e5e5;
|
374
|
-
|
375
|
-
height: 1px;
|
376
|
-
|
377
|
-
margin: 0 0 20px;
|
378
|
-
|
379
|
-
}
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
footer {
|
384
|
-
|
385
|
-
width: 270px;
|
386
|
-
|
387
|
-
float: left;
|
388
|
-
|
389
|
-
position: fixed;
|
390
|
-
|
391
|
-
bottom: 50px;
|
392
|
-
|
393
|
-
}
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
@media print, screen and (max-width: 960px) {
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
div.wrapper {
|
402
|
-
|
403
|
-
width: auto;
|
404
|
-
|
405
|
-
margin: 0;
|
406
|
-
|
407
|
-
}
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
header, section, footer {
|
412
|
-
|
413
|
-
float: none;
|
414
|
-
|
415
|
-
position: static;
|
416
|
-
|
417
|
-
width: auto;
|
418
|
-
|
419
|
-
}
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
header {
|
424
|
-
|
425
|
-
padding-right: 320px;
|
426
|
-
|
427
|
-
}
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
section {
|
432
|
-
|
433
|
-
border: 1px solid #e5e5e5;
|
434
|
-
|
435
|
-
border-width: 1px 0;
|
436
|
-
|
437
|
-
padding: 20px 0;
|
438
|
-
|
439
|
-
margin: 0 0 20px;
|
440
|
-
|
441
|
-
}
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
header a small {
|
446
|
-
|
447
|
-
display: inline;
|
448
|
-
|
449
|
-
}
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
header ul {
|
454
|
-
|
455
|
-
position: absolute;
|
456
|
-
|
457
|
-
right: 50px;
|
458
|
-
|
459
|
-
top: 52px;
|
460
|
-
|
461
|
-
}
|
462
|
-
|
463
|
-
}
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
@media print, screen and (max-width: 720px) {
|
468
|
-
|
469
|
-
body {
|
470
|
-
|
471
|
-
word-wrap: break-word;
|
472
|
-
|
473
|
-
}
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
header {
|
478
|
-
|
479
|
-
padding: 0;
|
480
|
-
|
481
|
-
}
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
header ul, header p.view {
|
486
|
-
|
487
|
-
position: static;
|
488
|
-
|
489
|
-
}
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
pre, code {
|
494
|
-
|
495
|
-
word-wrap: normal;
|
496
|
-
|
497
|
-
}
|
498
|
-
|
499
|
-
}
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
@media print, screen and (max-width: 480px) {
|
504
|
-
|
505
|
-
body {
|
506
|
-
|
507
|
-
padding: 15px;
|
508
|
-
|
509
|
-
}
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
header ul {
|
514
|
-
|
515
|
-
display: none;
|
516
|
-
|
517
|
-
}
|
518
|
-
|
519
|
-
}
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
@media print {
|
524
|
-
|
525
|
-
body {
|
526
|
-
|
527
|
-
padding: 0.4in;
|
528
|
-
|
529
|
-
font-size: 12pt;
|
530
|
-
|
531
|
-
color: #444;
|
532
|
-
|
533
|
-
}
|
534
|
-
|
535
|
-
}
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
.line {
|
540
|
-
|
541
|
-
|
27
|
+
/* 文字数制限の関係で省略させていただきます。内容は追記のCSSと変わりませんので、そちらを参考にしてください。 */
|
542
|
-
|
543
|
-
color: White;
|
544
|
-
|
545
|
-
}
|
546
28
|
|
547
29
|
</style>
|
548
30
|
|
@@ -589,3 +71,599 @@
|
|
589
71
|
</html>
|
590
72
|
|
591
73
|
```
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
---
|
78
|
+
|
79
|
+
**(追記)**
|
80
|
+
|
81
|
+
HTML部分:
|
82
|
+
|
83
|
+
```HTML
|
84
|
+
|
85
|
+
<!DOCTYPE html>
|
86
|
+
|
87
|
+
<html>
|
88
|
+
|
89
|
+
<head>
|
90
|
+
|
91
|
+
<meta charset="utf-8">
|
92
|
+
|
93
|
+
<title>Home</title>
|
94
|
+
|
95
|
+
<link rel="stylesheet"
|
96
|
+
|
97
|
+
href="${pageContext.request.contextPath}/resources/app/css/styles.css">
|
98
|
+
|
99
|
+
</head>
|
100
|
+
|
101
|
+
<body>
|
102
|
+
|
103
|
+
<table>
|
104
|
+
|
105
|
+
<tr class="line">
|
106
|
+
|
107
|
+
<th>aaaa</th>
|
108
|
+
|
109
|
+
<th>aaaa</th>
|
110
|
+
|
111
|
+
<th>aaaa</th>
|
112
|
+
|
113
|
+
</tr>
|
114
|
+
|
115
|
+
<tr bgcolor="wheat">
|
116
|
+
|
117
|
+
<td>aaaaa</td>
|
118
|
+
|
119
|
+
<td>aaaaa</td>
|
120
|
+
|
121
|
+
<td>aaaaa</td>
|
122
|
+
|
123
|
+
</tr>
|
124
|
+
|
125
|
+
<tr bgcolor="lightyellow">
|
126
|
+
|
127
|
+
<td>aaaaaaaa</td>
|
128
|
+
|
129
|
+
<td>aaaaaaa</td>
|
130
|
+
|
131
|
+
<td>aaaaaaa</td>
|
132
|
+
|
133
|
+
</tr>
|
134
|
+
|
135
|
+
</table>
|
136
|
+
|
137
|
+
</body>
|
138
|
+
|
139
|
+
</html>
|
140
|
+
|
141
|
+
```
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
CSS部分:
|
146
|
+
|
147
|
+
```CSS
|
148
|
+
|
149
|
+
/* @import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700); */
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
body {
|
154
|
+
|
155
|
+
padding: 50px;
|
156
|
+
|
157
|
+
font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
158
|
+
|
159
|
+
color: #777;
|
160
|
+
|
161
|
+
font-weight: 300;
|
162
|
+
|
163
|
+
}
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
h1, h2, h3, h4, h5, h6 {
|
168
|
+
|
169
|
+
color: #222;
|
170
|
+
|
171
|
+
margin: 0 0 20px;
|
172
|
+
|
173
|
+
}
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
p, ul, ol, table, pre, dl {
|
178
|
+
|
179
|
+
margin: 0 0 20px;
|
180
|
+
|
181
|
+
}
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
h1, h2, h3 {
|
186
|
+
|
187
|
+
line-height: 1.1;
|
188
|
+
|
189
|
+
}
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
h1 {
|
194
|
+
|
195
|
+
font-size: 28px;
|
196
|
+
|
197
|
+
}
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
h2 {
|
202
|
+
|
203
|
+
color: #393939;
|
204
|
+
|
205
|
+
}
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
h3, h4, h5, h6 {
|
210
|
+
|
211
|
+
color: #494949;
|
212
|
+
|
213
|
+
}
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
a {
|
218
|
+
|
219
|
+
color: #39c;
|
220
|
+
|
221
|
+
font-weight: 400;
|
222
|
+
|
223
|
+
text-decoration: none;
|
224
|
+
|
225
|
+
}
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
a small {
|
230
|
+
|
231
|
+
font-size: 11px;
|
232
|
+
|
233
|
+
color: #777;
|
234
|
+
|
235
|
+
margin-top: -0.6em;
|
236
|
+
|
237
|
+
display: block;
|
238
|
+
|
239
|
+
}
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
.wrapper {
|
244
|
+
|
245
|
+
width: 860px;
|
246
|
+
|
247
|
+
margin: 0 auto;
|
248
|
+
|
249
|
+
}
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
blockquote {
|
254
|
+
|
255
|
+
border-left: 1px solid #e5e5e5;
|
256
|
+
|
257
|
+
margin: 0;
|
258
|
+
|
259
|
+
padding: 0 0 0 20px;
|
260
|
+
|
261
|
+
font-style: italic;
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
code, pre {
|
268
|
+
|
269
|
+
font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
|
270
|
+
|
271
|
+
color: #333;
|
272
|
+
|
273
|
+
font-size: 12px;
|
274
|
+
|
275
|
+
}
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
pre {
|
280
|
+
|
281
|
+
padding: 8px 15px;
|
282
|
+
|
283
|
+
background: #f8f8f8;
|
284
|
+
|
285
|
+
border-radius: 5px;
|
286
|
+
|
287
|
+
border: 1px solid #e5e5e5;
|
288
|
+
|
289
|
+
overflow-x: auto;
|
290
|
+
|
291
|
+
}
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
table {
|
296
|
+
|
297
|
+
width: 100%;
|
298
|
+
|
299
|
+
border-collapse: collapse;
|
300
|
+
|
301
|
+
}
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
th, td {
|
306
|
+
|
307
|
+
text-align: left;
|
308
|
+
|
309
|
+
padding: 5px 10px;
|
310
|
+
|
311
|
+
border-bottom: 1px solid #e5e5e5;
|
312
|
+
|
313
|
+
}
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
dt {
|
318
|
+
|
319
|
+
color: #444;
|
320
|
+
|
321
|
+
font-weight: 700;
|
322
|
+
|
323
|
+
}
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
th {
|
328
|
+
|
329
|
+
color: #444;
|
330
|
+
|
331
|
+
}
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
img {
|
336
|
+
|
337
|
+
max-width: 100%;
|
338
|
+
|
339
|
+
}
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
header {
|
344
|
+
|
345
|
+
width: 270px;
|
346
|
+
|
347
|
+
float: left;
|
348
|
+
|
349
|
+
position: fixed;
|
350
|
+
|
351
|
+
}
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
header ul {
|
356
|
+
|
357
|
+
list-style: none;
|
358
|
+
|
359
|
+
height: 40px;
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
padding: 0;
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
background: #eee;
|
368
|
+
|
369
|
+
background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
370
|
+
|
371
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #dddddd));
|
372
|
+
|
373
|
+
background: -webkit-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
374
|
+
|
375
|
+
background: -o-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
376
|
+
|
377
|
+
background: -ms-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
378
|
+
|
379
|
+
background: linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
border-radius: 5px;
|
384
|
+
|
385
|
+
border: 1px solid #d2d2d2;
|
386
|
+
|
387
|
+
box-shadow: inset #fff 0 1px 0, inset rgba(0, 0, 0, 0.03) 0 -1px 0;
|
388
|
+
|
389
|
+
width: 270px;
|
390
|
+
|
391
|
+
}
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
header li {
|
396
|
+
|
397
|
+
width: 89px;
|
398
|
+
|
399
|
+
float: left;
|
400
|
+
|
401
|
+
border-right: 1px solid #d2d2d2;
|
402
|
+
|
403
|
+
height: 40px;
|
404
|
+
|
405
|
+
}
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
header ul a {
|
410
|
+
|
411
|
+
line-height: 1;
|
412
|
+
|
413
|
+
font-size: 11px;
|
414
|
+
|
415
|
+
color: #999;
|
416
|
+
|
417
|
+
display: block;
|
418
|
+
|
419
|
+
text-align: center;
|
420
|
+
|
421
|
+
padding-top: 6px;
|
422
|
+
|
423
|
+
height: 40px;
|
424
|
+
|
425
|
+
}
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
strong {
|
430
|
+
|
431
|
+
color: #222;
|
432
|
+
|
433
|
+
font-weight: 700;
|
434
|
+
|
435
|
+
}
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
header ul li + li {
|
440
|
+
|
441
|
+
width: 88px;
|
442
|
+
|
443
|
+
border-left: 1px solid #fff;
|
444
|
+
|
445
|
+
}
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
header ul li + li + li {
|
450
|
+
|
451
|
+
border-right: none;
|
452
|
+
|
453
|
+
width: 89px;
|
454
|
+
|
455
|
+
}
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
header ul a strong {
|
460
|
+
|
461
|
+
font-size: 14px;
|
462
|
+
|
463
|
+
display: block;
|
464
|
+
|
465
|
+
color: #222;
|
466
|
+
|
467
|
+
}
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
section {
|
472
|
+
|
473
|
+
width: 500px;
|
474
|
+
|
475
|
+
float: right;
|
476
|
+
|
477
|
+
padding-bottom: 50px;
|
478
|
+
|
479
|
+
}
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
small {
|
484
|
+
|
485
|
+
font-size: 11px;
|
486
|
+
|
487
|
+
}
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
hr {
|
492
|
+
|
493
|
+
border: 0;
|
494
|
+
|
495
|
+
background: #e5e5e5;
|
496
|
+
|
497
|
+
height: 1px;
|
498
|
+
|
499
|
+
margin: 0 0 20px;
|
500
|
+
|
501
|
+
}
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
footer {
|
506
|
+
|
507
|
+
width: 270px;
|
508
|
+
|
509
|
+
float: left;
|
510
|
+
|
511
|
+
position: fixed;
|
512
|
+
|
513
|
+
bottom: 50px;
|
514
|
+
|
515
|
+
}
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
@media print, screen and (max-width: 960px) {
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
div.wrapper {
|
524
|
+
|
525
|
+
width: auto;
|
526
|
+
|
527
|
+
margin: 0;
|
528
|
+
|
529
|
+
}
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
header, section, footer {
|
534
|
+
|
535
|
+
float: none;
|
536
|
+
|
537
|
+
position: static;
|
538
|
+
|
539
|
+
width: auto;
|
540
|
+
|
541
|
+
}
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
header {
|
546
|
+
|
547
|
+
padding-right: 320px;
|
548
|
+
|
549
|
+
}
|
550
|
+
|
551
|
+
|
552
|
+
|
553
|
+
section {
|
554
|
+
|
555
|
+
border: 1px solid #e5e5e5;
|
556
|
+
|
557
|
+
border-width: 1px 0;
|
558
|
+
|
559
|
+
padding: 20px 0;
|
560
|
+
|
561
|
+
margin: 0 0 20px;
|
562
|
+
|
563
|
+
}
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
header a small {
|
568
|
+
|
569
|
+
display: inline;
|
570
|
+
|
571
|
+
}
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
header ul {
|
576
|
+
|
577
|
+
position: absolute;
|
578
|
+
|
579
|
+
right: 50px;
|
580
|
+
|
581
|
+
top: 52px;
|
582
|
+
|
583
|
+
}
|
584
|
+
|
585
|
+
}
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
@media print, screen and (max-width: 720px) {
|
590
|
+
|
591
|
+
body {
|
592
|
+
|
593
|
+
word-wrap: break-word;
|
594
|
+
|
595
|
+
}
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
header {
|
600
|
+
|
601
|
+
padding: 0;
|
602
|
+
|
603
|
+
}
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
header ul, header p.view {
|
608
|
+
|
609
|
+
position: static;
|
610
|
+
|
611
|
+
}
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
pre, code {
|
616
|
+
|
617
|
+
word-wrap: normal;
|
618
|
+
|
619
|
+
}
|
620
|
+
|
621
|
+
}
|
622
|
+
|
623
|
+
|
624
|
+
|
625
|
+
@media print, screen and (max-width: 480px) {
|
626
|
+
|
627
|
+
body {
|
628
|
+
|
629
|
+
padding: 15px;
|
630
|
+
|
631
|
+
}
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
header ul {
|
636
|
+
|
637
|
+
display: none;
|
638
|
+
|
639
|
+
}
|
640
|
+
|
641
|
+
}
|
642
|
+
|
643
|
+
|
644
|
+
|
645
|
+
@media print {
|
646
|
+
|
647
|
+
body {
|
648
|
+
|
649
|
+
padding: 0.4in;
|
650
|
+
|
651
|
+
font-size: 12pt;
|
652
|
+
|
653
|
+
color: #444;
|
654
|
+
|
655
|
+
}
|
656
|
+
|
657
|
+
}
|
658
|
+
|
659
|
+
|
660
|
+
|
661
|
+
.line {
|
662
|
+
|
663
|
+
background-color: gold; /* bgcolorではなくbackground-color */
|
664
|
+
|
665
|
+
color: White;
|
666
|
+
|
667
|
+
}
|
668
|
+
|
669
|
+
```
|
2
修正
test
CHANGED
@@ -6,7 +6,9 @@
|
|
6
6
|
|
7
7
|
> In this order: optionally a caption element, followed by zero or more colgroup elements, followed optionally by a thead element, followed by either zero or more tbody elements or one or more tr elements, followed optionally by a tfoot element, optionally intermixed with one or more script-supporting elements.
|
8
8
|
|
9
|
+
|
10
|
+
|
9
|
-
これを踏まえると、質問者さんのコードは以下のように書けると思います。
|
11
|
+
これらを踏まえると、質問者さんのコードは以下のように書けると思います。
|
10
12
|
|
11
13
|
```HTML
|
12
14
|
|
1
追記
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
lineクラスに指定してあるbgcolorプロパティは[background-colorプロパティ](http://www.htmq.com/style/background-color.shtml)の誤りでは?必ずしもHTMLの属性名がCSSのプロパティ名と同じではないことに注意してください。
|
2
2
|
|
3
|
-
[tableタグ直下にdivタグを記述することはできません。](https://www.w3.org/TR/html51/tabular-data.html#the-table-element)
|
3
|
+
また、[tableタグ直下にdivタグを記述することはできません。](https://www.w3.org/TR/html51/tabular-data.html#the-table-element)
|
4
4
|
|
5
5
|
> Content model:
|
6
6
|
|