質問編集履歴
7
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -47,11 +47,11 @@
|
|
47
47
|
|
48
48
|
<table class="days">
|
49
49
|
<tr>
|
50
|
-
<td>9時</td>
|
51
|
-
<td>
|
50
|
+
<td>1人</td>
|
51
|
+
<td>2人</td>
|
52
|
+
<td>3人</td>
|
53
|
+
<td>4人</td>
|
52
|
-
<td>
|
54
|
+
<td>5人</td>
|
53
|
-
<td>18時</td>
|
54
|
-
<td>21時</td>
|
55
55
|
<tr>
|
56
56
|
|
57
57
|
<td><img src="pic1.png"></td>
|
6
追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,56 +4,54 @@
|
|
4
4
|
tableの上の部分に空白が100px欲しいのですが、margin-topと書いても何も反映されません。
|
5
5
|
リロードすると、画面が一瞬切り替わるのですが、空白は増えません。
|
6
6
|
何が問題なのでしょうか?教えて頂けたらありがたいです。よろしくお願いします。
|
7
|
-
###発生している問題・エラーメッセージ
|
8
7
|
|
9
|
-
```
|
10
|
-
エラーメッセージ
|
11
|
-
```
|
12
8
|
|
9
|
+
|
10
|
+
|
11
|
+
|
13
12
|
###該当のソースコード
|
14
|
-
```ここに言語を入力
|
15
|
-
HTML
|
13
|
+
```HTML
|
16
14
|
<!DOCTYPE html>
|
17
15
|
<html lang="ja">
|
18
16
|
<head>
|
19
17
|
<meta charset="UTF-8">
|
20
|
-
<title>
|
18
|
+
<title></title>
|
21
19
|
<link rel="stylesheet" type="text/css" href="style.css">
|
20
|
+
|
22
21
|
</head>
|
23
22
|
<body>
|
24
23
|
<div class="header">
|
25
|
-
|
24
|
+
|
26
|
-
|
27
|
-
</h1>
|
28
|
-
|
25
|
+
</div>
|
29
26
|
|
30
|
-
<div class="main">
|
27
|
+
<div class="main" id="main">
|
31
28
|
|
32
|
-
<div class=
|
29
|
+
<div class="whole-photo">
|
33
30
|
<div id="photo01" class="photoframe">
|
34
31
|
|
35
|
-
<p class="photo"><img src=
|
32
|
+
<p class="photo"><img src=""></p>
|
36
33
|
|
37
|
-
<p class=
|
34
|
+
<p class="in"></p>
|
38
35
|
|
39
36
|
</div>
|
40
37
|
|
41
38
|
|
42
|
-
<div class=“memo”>
|
43
|
-
|
39
|
+
<div class="note">
|
40
|
+
<div class="letters">
|
44
41
|
<p></p>
|
45
42
|
<p></p>
|
46
43
|
</div>
|
47
44
|
|
48
45
|
</div>
|
49
46
|
|
47
|
+
|
50
|
-
<table class="days">
|
48
|
+
<table class="days">
|
51
49
|
<tr>
|
50
|
+
<td>9時</td>
|
52
|
-
<td>
|
51
|
+
<td>12時</td>
|
52
|
+
<td>15時</td>
|
53
|
+
<td>18時</td>
|
53
|
-
<td>
|
54
|
+
<td>21時</td>
|
54
|
-
<td>3人</td>
|
55
|
-
<td>4人</td>
|
56
|
-
<td>5人</td>
|
57
55
|
<tr>
|
58
56
|
|
59
57
|
<td><img src="pic1.png"></td>
|
@@ -65,4 +63,141 @@
|
|
65
63
|
</tr>
|
66
64
|
</table>
|
67
65
|
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
<div class="push"></div>
|
68
|
-
|
72
|
+
</div>
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
<div class="footer" id="footer">
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</body>
|
82
|
+
</html>
|
83
|
+
```
|
84
|
+
```CSS
|
85
|
+
|
86
|
+
body{
|
87
|
+
width: 100%;
|
88
|
+
margin: 0px;
|
89
|
+
padding: 0px;
|
90
|
+
background-color:white;
|
91
|
+
|
92
|
+
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
.main{
|
101
|
+
width: 100%;
|
102
|
+
height: 1000px;
|
103
|
+
padding: 100px 0px;
|
104
|
+
margin: 0px;
|
105
|
+
}
|
106
|
+
|
107
|
+
|
108
|
+
.whole-photo{
|
109
|
+
margin-left:70px;
|
110
|
+
margin-top: 50px;
|
111
|
+
position:relative;
|
112
|
+
}
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
.photoframe {
|
117
|
+
position: relative;
|
118
|
+
display: inline;
|
119
|
+
float: left;
|
120
|
+
width: 340px;
|
121
|
+
height: 430px;
|
122
|
+
overflow: hidden;
|
123
|
+
margin: 0 10px 20px;
|
124
|
+
padding: 15px;
|
125
|
+
background: #ffffff;
|
126
|
+
border: 1px solid rgba(0, 0, 0, 0.3);
|
127
|
+
text-align: center;
|
128
|
+
-webkit-border-radius: 2px;
|
129
|
+
-moz-border-radius: 2px;
|
130
|
+
border-radius: 2px;
|
131
|
+
-moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
|
132
|
+
-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
|
133
|
+
box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
|
134
|
+
z-index: 1;
|
135
|
+
}
|
136
|
+
|
137
|
+
.photoframe .photo {
|
138
|
+
width: 340px;
|
139
|
+
height: 385px;
|
140
|
+
overflow: hidden;
|
141
|
+
margin: 0 0 10px;
|
142
|
+
padding: 0;
|
143
|
+
-moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
|
144
|
+
-webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
|
145
|
+
box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
|
146
|
+
}
|
147
|
+
|
148
|
+
.photoframe img {
|
149
|
+
position: relative;
|
150
|
+
display: block;
|
151
|
+
margin: 0;
|
152
|
+
padding: 0;
|
153
|
+
z-index: -1;
|
154
|
+
width:339px;
|
155
|
+
height:359px;
|
156
|
+
}
|
157
|
+
|
158
|
+
|
159
|
+
.note{
|
160
|
+
width:390px;
|
161
|
+
height:460px;
|
162
|
+
float:right;
|
163
|
+
margin-right:160px;
|
164
|
+
position: relative;
|
165
|
+
background-color: #ffffe7;
|
166
|
+
background-image:
|
167
|
+
linear-gradient(rgba(241,207,164,0.5) .1em, transparent .1em);
|
168
|
+
background-size: 100% 1.5em;
|
169
|
+
line-height:1.5em;}
|
170
|
+
|
171
|
+
|
172
|
+
.in{
|
173
|
+
padding-bottom: 20px;
|
174
|
+
font-size: 28px;
|
175
|
+
margin-top: 5px;
|
176
|
+
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
.letters{
|
181
|
+
padding-top:10px;
|
182
|
+
padding-left:20px;
|
183
|
+
padding-right:20px;
|
184
|
+
font-size:28px;
|
185
|
+
line-height:130%;
|
186
|
+
}
|
187
|
+
|
188
|
+
|
189
|
+
.days{
|
190
|
+
text-align: center;
|
191
|
+
border:1px solid black;
|
192
|
+
font-size:22px;
|
193
|
+
margin-top:100px;
|
194
|
+
|
195
|
+
|
196
|
+
}
|
197
|
+
|
198
|
+
.days img{
|
199
|
+
width:200px;
|
200
|
+
}
|
201
|
+
|
202
|
+
|
203
|
+
```
|
5
削除
title
CHANGED
File without changes
|
body
CHANGED
@@ -65,158 +65,4 @@
|
|
65
65
|
</tr>
|
66
66
|
</table>
|
67
67
|
|
68
|
-
</div>
|
68
|
+
</div>
|
69
|
-
|
70
|
-
CSS
|
71
|
-
body{
|
72
|
-
width: 100%;
|
73
|
-
margin: 0px;
|
74
|
-
padding: 0px;
|
75
|
-
background-color: white;
|
76
|
-
}
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
.header{
|
81
|
-
position: fixed;
|
82
|
-
width: 100%;
|
83
|
-
height: 85px;
|
84
|
-
margin: 0px;
|
85
|
-
padding: 0px;
|
86
|
-
background-color: #ffffff;
|
87
|
-
z-index: 9999;
|
88
|
-
top: 0px;
|
89
|
-
left: 0px;
|
90
|
-
}
|
91
|
-
.header h1,img{
|
92
|
-
width: 250px;
|
93
|
-
margin: 0px 0px 0px 6%;
|
94
|
-
float: left;
|
95
|
-
}
|
96
|
-
.header nav{
|
97
|
-
padding-right: 6%;
|
98
|
-
}
|
99
|
-
.header li{
|
100
|
-
width: 180px;
|
101
|
-
padding: 0px;
|
102
|
-
margin: 0px;
|
103
|
-
font-size: 15px;
|
104
|
-
color: #3d9ec7;
|
105
|
-
list-style: none;
|
106
|
-
text-align: center;
|
107
|
-
}
|
108
|
-
.header li :visited{
|
109
|
-
color: #3d9ec7;
|
110
|
-
}
|
111
|
-
.header_item{
|
112
|
-
display: inline;
|
113
|
-
float: right;
|
114
|
-
}
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
.main{
|
119
|
-
width: 100%;
|
120
|
-
height: 1000px;
|
121
|
-
padding: 100px 0px;
|
122
|
-
margin: 0px;
|
123
|
-
}
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
.whole-photo{
|
128
|
-
margin-left:70px;
|
129
|
-
margin-top: 50px;
|
130
|
-
position:relative;
|
131
|
-
}
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
.photoframe {
|
136
|
-
position: relative;
|
137
|
-
display: inline;
|
138
|
-
float: left;
|
139
|
-
width: 340px;
|
140
|
-
height: 430px;
|
141
|
-
overflow: hidden;
|
142
|
-
margin: 0 10px 20px;
|
143
|
-
padding: 15px;
|
144
|
-
background: #ffffff;
|
145
|
-
border: 1px solid rgba(0, 0, 0, 0.3);
|
146
|
-
text-align: center;
|
147
|
-
-webkit-border-radius: 2px;
|
148
|
-
-moz-border-radius: 2px;
|
149
|
-
border-radius: 2px;
|
150
|
-
-moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
|
151
|
-
-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
|
152
|
-
box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
|
153
|
-
z-index: 1;
|
154
|
-
}
|
155
|
-
|
156
|
-
.photoframe .photo {
|
157
|
-
width: 340px;
|
158
|
-
height: 385px;
|
159
|
-
overflow: hidden;
|
160
|
-
margin: 0 0 10px;
|
161
|
-
padding: 0;
|
162
|
-
-moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
|
163
|
-
-webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
|
164
|
-
box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
|
165
|
-
}
|
166
|
-
|
167
|
-
.photoframe img {
|
168
|
-
position: relative;
|
169
|
-
display: block;
|
170
|
-
margin: 0;
|
171
|
-
padding: 0;
|
172
|
-
z-index: -1;
|
173
|
-
width:339px;
|
174
|
-
height:359px;
|
175
|
-
}
|
176
|
-
|
177
|
-
|
178
|
-
.memo{
|
179
|
-
width:390px;
|
180
|
-
height:460px;
|
181
|
-
float:right;
|
182
|
-
margin-right:160px;
|
183
|
-
position: relative;
|
184
|
-
background-color: #ffffe7;
|
185
|
-
background-image:
|
186
|
-
linear-gradient(rgba(241,207,164,0.5) .1em, transparent .1em);
|
187
|
-
background-size: 100% 1.5em;
|
188
|
-
line-height:1.5em;}
|
189
|
-
|
190
|
-
|
191
|
-
.short{
|
192
|
-
padding-bottom: 20px;
|
193
|
-
font-size: 28px;
|
194
|
-
margin-top: 5px;
|
195
|
-
|
196
|
-
}
|
197
|
-
|
198
|
-
|
199
|
-
.letters{
|
200
|
-
padding-top:10px;
|
201
|
-
padding-left:20px;
|
202
|
-
padding-right:20px;
|
203
|
-
font-size:28px;
|
204
|
-
line-height:130%;
|
205
|
-
}
|
206
|
-
|
207
|
-
|
208
|
-
.days{
|
209
|
-
text-align: center;
|
210
|
-
border:1px solid black;
|
211
|
-
font-size:22px;
|
212
|
-
margin-top:100px;
|
213
|
-
|
214
|
-
|
215
|
-
}
|
216
|
-
|
217
|
-
.days img{
|
218
|
-
width:200px;
|
219
|
-
}
|
220
|
-
|
221
|
-
|
222
|
-
```
|
4
追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -122,13 +122,6 @@
|
|
122
122
|
margin: 0px;
|
123
123
|
}
|
124
124
|
|
125
|
-
@font-face {
|
126
|
-
font-family:"ヒラギノ丸ゴ Pro W4;
|
127
|
-
src: url("font.eot?") format('eot');
|
128
|
-
src: url("font.eot?#iefix") format('embedded-opentype'),
|
129
|
-
url("font.woff") format('woff'),
|
130
|
-
url("font.ttf") format('truetype');
|
131
|
-
}
|
132
125
|
|
133
126
|
|
134
127
|
.whole-photo{
|
3
追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -68,18 +68,162 @@
|
|
68
68
|
</div>
|
69
69
|
|
70
70
|
CSS
|
71
|
+
body{
|
72
|
+
width: 100%;
|
73
|
+
margin: 0px;
|
74
|
+
padding: 0px;
|
75
|
+
background-color: white;
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
.header{
|
81
|
+
position: fixed;
|
82
|
+
width: 100%;
|
83
|
+
height: 85px;
|
84
|
+
margin: 0px;
|
85
|
+
padding: 0px;
|
86
|
+
background-color: #ffffff;
|
87
|
+
z-index: 9999;
|
88
|
+
top: 0px;
|
89
|
+
left: 0px;
|
90
|
+
}
|
91
|
+
.header h1,img{
|
92
|
+
width: 250px;
|
93
|
+
margin: 0px 0px 0px 6%;
|
94
|
+
float: left;
|
95
|
+
}
|
96
|
+
.header nav{
|
97
|
+
padding-right: 6%;
|
98
|
+
}
|
99
|
+
.header li{
|
100
|
+
width: 180px;
|
101
|
+
padding: 0px;
|
102
|
+
margin: 0px;
|
103
|
+
font-size: 15px;
|
104
|
+
color: #3d9ec7;
|
105
|
+
list-style: none;
|
106
|
+
text-align: center;
|
107
|
+
}
|
108
|
+
.header li :visited{
|
109
|
+
color: #3d9ec7;
|
110
|
+
}
|
111
|
+
.header_item{
|
112
|
+
display: inline;
|
113
|
+
float: right;
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
.main{
|
119
|
+
width: 100%;
|
120
|
+
height: 1000px;
|
121
|
+
padding: 100px 0px;
|
122
|
+
margin: 0px;
|
123
|
+
}
|
124
|
+
|
125
|
+
@font-face {
|
126
|
+
font-family:"ヒラギノ丸ゴ Pro W4;
|
127
|
+
src: url("font.eot?") format('eot');
|
128
|
+
src: url("font.eot?#iefix") format('embedded-opentype'),
|
129
|
+
url("font.woff") format('woff'),
|
130
|
+
url("font.ttf") format('truetype');
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
.whole-photo{
|
135
|
+
margin-left:70px;
|
136
|
+
margin-top: 50px;
|
137
|
+
position:relative;
|
138
|
+
}
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
.photoframe {
|
143
|
+
position: relative;
|
144
|
+
display: inline;
|
145
|
+
float: left;
|
146
|
+
width: 340px;
|
147
|
+
height: 430px;
|
148
|
+
overflow: hidden;
|
149
|
+
margin: 0 10px 20px;
|
150
|
+
padding: 15px;
|
151
|
+
background: #ffffff;
|
152
|
+
border: 1px solid rgba(0, 0, 0, 0.3);
|
153
|
+
text-align: center;
|
154
|
+
-webkit-border-radius: 2px;
|
155
|
+
-moz-border-radius: 2px;
|
156
|
+
border-radius: 2px;
|
157
|
+
-moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
|
158
|
+
-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
|
159
|
+
box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
|
160
|
+
z-index: 1;
|
161
|
+
}
|
162
|
+
|
163
|
+
.photoframe .photo {
|
164
|
+
width: 340px;
|
165
|
+
height: 385px;
|
166
|
+
overflow: hidden;
|
167
|
+
margin: 0 0 10px;
|
168
|
+
padding: 0;
|
169
|
+
-moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
|
170
|
+
-webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
|
171
|
+
box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
|
172
|
+
}
|
173
|
+
|
174
|
+
.photoframe img {
|
175
|
+
position: relative;
|
176
|
+
display: block;
|
177
|
+
margin: 0;
|
178
|
+
padding: 0;
|
179
|
+
z-index: -1;
|
180
|
+
width:339px;
|
181
|
+
height:359px;
|
182
|
+
}
|
183
|
+
|
184
|
+
|
185
|
+
.memo{
|
186
|
+
width:390px;
|
187
|
+
height:460px;
|
188
|
+
float:right;
|
189
|
+
margin-right:160px;
|
190
|
+
position: relative;
|
191
|
+
background-color: #ffffe7;
|
192
|
+
background-image:
|
193
|
+
linear-gradient(rgba(241,207,164,0.5) .1em, transparent .1em);
|
194
|
+
background-size: 100% 1.5em;
|
195
|
+
line-height:1.5em;}
|
196
|
+
|
197
|
+
|
198
|
+
.short{
|
199
|
+
padding-bottom: 20px;
|
200
|
+
font-size: 28px;
|
201
|
+
margin-top: 5px;
|
202
|
+
|
203
|
+
}
|
204
|
+
|
205
|
+
|
206
|
+
.letters{
|
207
|
+
padding-top:10px;
|
208
|
+
padding-left:20px;
|
209
|
+
padding-right:20px;
|
210
|
+
font-size:28px;
|
211
|
+
line-height:130%;
|
212
|
+
}
|
213
|
+
|
214
|
+
|
71
215
|
.days{
|
72
216
|
text-align: center;
|
73
|
-
margin-top: 100px;
|
74
|
-
font-size:25px;
|
75
217
|
border:1px solid black;
|
218
|
+
font-size:22px;
|
219
|
+
margin-top:100px;
|
76
220
|
|
221
|
+
|
77
222
|
}
|
78
223
|
|
79
|
-
|
80
|
-
|
81
224
|
.days img{
|
82
225
|
width:200px;
|
83
226
|
}
|
84
227
|
|
228
|
+
|
85
229
|
```
|
2
追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -65,6 +65,8 @@
|
|
65
65
|
</tr>
|
66
66
|
</table>
|
67
67
|
|
68
|
+
</div>
|
69
|
+
|
68
70
|
CSS
|
69
71
|
.days{
|
70
72
|
text-align: center;
|
1
追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -13,6 +13,40 @@
|
|
13
13
|
###該当のソースコード
|
14
14
|
```ここに言語を入力
|
15
15
|
HTML
|
16
|
+
<!DOCTYPE html>
|
17
|
+
<html lang="ja">
|
18
|
+
<head>
|
19
|
+
<meta charset="UTF-8">
|
20
|
+
<title>numbers</title>
|
21
|
+
<link rel="stylesheet" type="text/css" href="style.css">
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<div class="header">
|
25
|
+
<h1>
|
26
|
+
|
27
|
+
</h1>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<div class="main">
|
31
|
+
|
32
|
+
<div class=“photos”>
|
33
|
+
<div id="photo01" class="photoframe">
|
34
|
+
|
35
|
+
<p class="photo"><img src=“pic.jpg"></p>
|
36
|
+
|
37
|
+
<p class=“hot”></p>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
|
41
|
+
|
42
|
+
<div class=“memo”>
|
43
|
+
<div class=“short”>
|
44
|
+
<p></p>
|
45
|
+
<p></p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
</div>
|
49
|
+
|
16
50
|
<table class="days">
|
17
51
|
<tr>
|
18
52
|
<td>1人</td>
|