質問編集履歴

4

最後の2点の修正で、自己解決しました。

2018/11/20 05:35

投稿

cherryz
cherryz

スコア17

test CHANGED
File without changes
test CHANGED
File without changes

3

floatの指定をrightからleftに変更

2018/11/20 05:35

投稿

cherryz
cherryz

スコア17

test CHANGED
File without changes
test CHANGED
@@ -128,6 +128,92 @@
128
128
 
129
129
  ```
130
130
 
131
+ ```css
132
+
133
+ /*フッターデザイン*/
134
+
135
+ @charset "utf-8";
136
+
137
+
138
+
139
+
140
+
141
+ #wrapper {
142
+
143
+ width:100%;
144
+
145
+ margin:0 auto;
146
+
147
+ padding:30px 50px 20px;
148
+
149
+ background-color:#888
150
+
151
+ }
152
+
153
+
154
+
155
+ .float2 {
156
+
157
+ float:left;
158
+
159
+ width:300px;
160
+
161
+ margin-left:50px;
162
+
163
+ }
164
+
165
+
166
+
167
+ .float2_end {
168
+
169
+ margin-right:0;
170
+
171
+ }
172
+
173
+
174
+
175
+ h5 {
176
+
177
+ color:#fff;
178
+
179
+ text-align:center;
180
+
181
+ font-size:36px;
182
+
183
+ line-height:100px;
184
+
185
+ }
186
+
187
+
188
+
189
+ h6 {
190
+
191
+ border-bottom:2px solid #333;
192
+
193
+ font-size:14px;
194
+
195
+ font-weight:bold;
196
+
197
+ line-height:28px;
198
+
199
+ }
200
+
201
+
202
+
203
+
204
+
205
+ table {
206
+
207
+ font-size:9px;
208
+
209
+ width:298px;
210
+
211
+ border:1px solid #CCC;
212
+
213
+ }
214
+
215
+ ```
216
+
131
217
  ### 試したこと
132
218
 
133
219
 

2

最後のdivタグの間にfloat解除タグを入れた。

2018/11/20 05:35

投稿

cherryz
cherryz

スコア17

test CHANGED
File without changes
test CHANGED
@@ -24,10 +24,6 @@
24
24
 
25
25
  ```html
26
26
 
27
- <link rel="stylesheet" href="fotter.css">
28
-
29
-
30
-
31
27
 
32
28
 
33
29
  <h1>SHOP INFORMATION</h1>
@@ -36,7 +32,7 @@
36
32
 
37
33
  <div id="wrapper">
38
34
 
39
-
35
+
40
36
 
41
37
  <div class="float2">
42
38
 
@@ -62,15 +58,15 @@
62
58
 
63
59
  </p>
64
60
 
65
-
61
+
66
62
 
67
63
  <p style="text-align: right"><font size=2><a href="http://beadsclub.ocnk.net/help#help_charge">詳しくはこちら</a></font></p>
68
64
 
69
-
65
+
70
66
 
71
67
  </div>
72
68
 
73
-
69
+
74
70
 
75
71
  <div class="float2">
76
72
 
@@ -84,11 +80,11 @@
84
80
 
85
81
  </p>
86
82
 
87
-
83
+
88
84
 
89
85
  <p style="text-align: right"><font size=2><a href="http://beadsclub.ocnk.net/help#help_charge">詳しくはこちら</a></font></p>
90
86
 
91
-
87
+
92
88
 
93
89
  <h6>返品・交換・キャンセルについて</h6>
94
90
 
@@ -98,15 +94,15 @@
98
94
 
99
95
  </p>
100
96
 
101
-
97
+
102
98
 
103
99
  <p style="text-align: right"><font size=2><a href="http://beadsclub.ocnk.net/info">詳しくはこちら</a></font></p>
104
100
 
105
-
101
+
106
102
 
107
103
  </div>
108
104
 
109
-
105
+
110
106
 
111
107
 
112
108
 
@@ -126,97 +122,9 @@
126
122
 
127
123
  MAIL:@@@@@@@@@@@@@<br>
128
124
 
129
-
125
+
130
126
 
131
127
  </div>
132
-
133
- ```
134
-
135
- ```css
136
-
137
-
138
-
139
- /*フッターデザイン*/
140
-
141
- @charset "utf-8";
142
-
143
-
144
-
145
-
146
-
147
- #wrapper {
148
-
149
- width:100%;
150
-
151
- margin:0 auto;
152
-
153
- padding:30px 50px 20px;
154
-
155
- background-color:#ffffff
156
-
157
- }
158
-
159
-
160
-
161
- .float2 {
162
-
163
- float:left;
164
-
165
- width:300px;
166
-
167
- margin-right:50px;
168
-
169
- }
170
-
171
-
172
-
173
- .end {
174
-
175
- margin-right:0;
176
-
177
- }
178
-
179
-
180
-
181
- h5 {
182
-
183
- color:#fff;
184
-
185
- text-align:center;
186
-
187
- font-size:36px;
188
-
189
- line-height:100px;
190
-
191
- }
192
-
193
-
194
-
195
- h6 {
196
-
197
- border-bottom:2px solid #333;
198
-
199
- font-size:14px;
200
-
201
- font-weight:bold;
202
-
203
- line-height:28px;
204
-
205
- }
206
-
207
-
208
-
209
-
210
-
211
- table {
212
-
213
- font-size:9px;
214
-
215
- width:298px;
216
-
217
- border:1px solid #CCC;
218
-
219
- }
220
128
 
221
129
  ```
222
130
 

1

centerとfontタグを削除しました。どうぞよろしくお願いいたします。

2018/11/20 05:33

投稿

cherryz
cherryz

スコア17

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  オンラインショップ(おちゃのこネット)のデザインで、ショップ案内のフッターを作っていますが、左よりになってしまいます。
6
6
 
7
- 文字は左揃えのまま、デザインを中央揃えに修正したいです。
7
+ 文字は左揃えのまま、デザイン(タイトル含め)を中央揃えに修正したいです。
8
8
 
9
9
 
10
10
 
@@ -30,7 +30,7 @@
30
30
 
31
31
 
32
32
 
33
- <center><font color=><h1>SHOP INFORMATION</h1></font></center>
33
+ <h1>SHOP INFORMATION</h1>
34
34
 
35
35
  <br>
36
36