質問編集履歴
1
コード掲載
test
CHANGED
File without changes
|
test
CHANGED
@@ -35,3 +35,339 @@
|
|
35
35
|
こういった場合、どういった点に注意してHTMLを作成すれば、ボタン画像の
|
36
36
|
|
37
37
|
サイズ感は同じになるでしょうか?
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
コードを掲載します。
|
42
|
+
|
43
|
+
A,Bの2機種で違う見え方をした画像は、alt="詳しい応募方法" の画像です。
|
44
|
+
|
45
|
+
(このコードでは画像のパスを公開できないのですが、実際は、画像は確実にWEBサーバに存在しパスも間違っていません。)
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
```HTML
|
50
|
+
|
51
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
52
|
+
|
53
|
+
<html>
|
54
|
+
|
55
|
+
<head>
|
56
|
+
|
57
|
+
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
|
58
|
+
|
59
|
+
<meta name="viewport" content="width=device-width">
|
60
|
+
|
61
|
+
<title>〇〇 2018年8月号</title>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
<style type="text/css">
|
66
|
+
|
67
|
+
<!--
|
68
|
+
|
69
|
+
* {margin: 0; padding: 0;}
|
70
|
+
|
71
|
+
td {border-collapse: collapse;}
|
72
|
+
|
73
|
+
a:link, a:visited {text-decoration: underline;}
|
74
|
+
|
75
|
+
@media only screen and (max-width: 699px) {
|
76
|
+
|
77
|
+
table.container {
|
78
|
+
|
79
|
+
width: 100% !important;
|
80
|
+
|
81
|
+
}
|
82
|
+
|
83
|
+
.header_left {
|
84
|
+
|
85
|
+
width:35%;
|
86
|
+
|
87
|
+
}
|
88
|
+
|
89
|
+
.header_right {
|
90
|
+
|
91
|
+
width:65%;
|
92
|
+
|
93
|
+
}
|
94
|
+
|
95
|
+
.common_padding {
|
96
|
+
|
97
|
+
padding-left:10px !important;
|
98
|
+
|
99
|
+
padding-right:10px !important;
|
100
|
+
|
101
|
+
}
|
102
|
+
|
103
|
+
.fluid {
|
104
|
+
|
105
|
+
display: block !important;
|
106
|
+
|
107
|
+
width: 100% !important;
|
108
|
+
|
109
|
+
padding:0 !important;
|
110
|
+
|
111
|
+
clear: both;
|
112
|
+
|
113
|
+
margin-bottom: 30px;
|
114
|
+
|
115
|
+
}
|
116
|
+
|
117
|
+
}
|
118
|
+
|
119
|
+
-->
|
120
|
+
|
121
|
+
</style>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
</head>
|
126
|
+
|
127
|
+
<body text="#333333" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0" style="width: 100% !important; background: #ffffff; margin:0; padding:0;">
|
128
|
+
|
129
|
+
<div style="font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,Verdana,'MS Pゴシック',sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;">
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f7f7f7">
|
134
|
+
|
135
|
+
<tr>
|
136
|
+
|
137
|
+
<td align="center" valign="top">
|
138
|
+
|
139
|
+
<center>
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
<table class="container" width="700" border="0" cellspacing="0" cellpadding="0" style="background-color:#ffffff;">
|
144
|
+
|
145
|
+
<tr>
|
146
|
+
|
147
|
+
<td>
|
148
|
+
|
149
|
+
<!--Header-->
|
150
|
+
|
151
|
+
<table class="container" width="700" border="0" cellspacing="0" cellpadding="0">
|
152
|
+
|
153
|
+
<tr>
|
154
|
+
|
155
|
+
<td align="center" colspan="2" style="background:#ebebeb; font-size:10px; line-height:1.4; padding:10px;">
|
156
|
+
|
157
|
+
このメールは〇〇〇・ジャパンから会員の方々にお送りしています。<br/>
|
158
|
+
|
159
|
+
画像がうまく表示されない方は、<a href="https://goo.goo/V" target="_blank" style="color:#003E7E">こちらのWEBページ</a>をご覧ください。
|
160
|
+
|
161
|
+
</td>
|
162
|
+
|
163
|
+
</tr>
|
164
|
+
|
165
|
+
<tr>
|
166
|
+
|
167
|
+
<td class="header_left" align="left" width="350" style="font-size:0; line-height:1; padding:15px 15px;">
|
168
|
+
|
169
|
+
<a href="https://www.project.com/jp/home.html" target="_blank"><img src="https://members.com/_var/header_logo.png" border="0" style="width:71px; height:50px; display:block;" alt="D">
|
170
|
+
|
171
|
+
</a>
|
172
|
+
|
173
|
+
</td>
|
174
|
+
|
175
|
+
<td class="header_right" align="right" width="350" valign="middle" style="font-size:11px;padding-right:15px;text-align:right;">
|
176
|
+
|
177
|
+
<a href="https://www.project.com/jp/home.html" target="_blank" style="color:#003E7E;">サイト</a>
|
178
|
+
|
179
|
+
<a href="https://members.com/user/edit" target="_blank" style="color:#003E7E;">配信内容の変更</a>
|
180
|
+
|
181
|
+
</td>
|
182
|
+
|
183
|
+
</tr>
|
184
|
+
|
185
|
+
</table>
|
186
|
+
|
187
|
+
</td>
|
188
|
+
|
189
|
+
</tr>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<!-- Main -->
|
194
|
+
|
195
|
+
<tr>
|
196
|
+
|
197
|
+
<td align="center" style="font-size:0;"><img src="https://members.com/_var/2018/bn_02.jpg" border="0" style="width:100%; display:block;" alt="キャンペーン"></td>
|
198
|
+
|
199
|
+
</tr>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<tr>
|
204
|
+
|
205
|
+
<td class="common_padding" style="padding:0 15px">
|
206
|
+
|
207
|
+
<table class="container" width="670" border="0" cellspacing="0" cellpadding="0">
|
208
|
+
|
209
|
+
<tr>
|
210
|
+
|
211
|
+
<td style="padding:25px 0 0">
|
212
|
+
|
213
|
+
<p style="display:block; font-size:15px; color:#333333; line-height:1.4;">夏の訪れを感じる季節になりましたね。<br/>
|
214
|
+
|
215
|
+
今回も、キャンペーンをご紹介!<br/>
|
216
|
+
|
217
|
+
ぜひご応募ください。</p>
|
218
|
+
|
219
|
+
</td>
|
220
|
+
|
221
|
+
</tr>
|
222
|
+
|
223
|
+
<tr>
|
224
|
+
|
225
|
+
<td style="padding:50px 0 25px">
|
226
|
+
|
227
|
+
<h3 style="font-size:18px; color:#003E7E; font-weight:bold; line-height:1.4;">毎月100名様に〇〇が当たる!</h3>
|
228
|
+
|
229
|
+
<h2 style="font-size:23px; color:#003E7E; font-weight:bold; line-height:1.25; margin-top:5px;">ご登録情報更新キャンペーン</h2>
|
230
|
+
|
231
|
+
<p style="display:block; font-size:15px; color:#333333; line-height:1.4; margin-top:25px;">会員の皆様に感謝の気持ちを込めて、毎月100名様に当たる!「ご登録キャンペーン」<br/>
|
232
|
+
|
233
|
+
現在、第n回のご応募受付中!ご応募お待ちしております。<br/><br/>
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
◆応募期間:201n年n月n日(火) ~ 201n年n月n日(火)23:59まで<br/>
|
238
|
+
|
239
|
+
<s>第1回締切:201n年n月n日(木) 23:59まで</s><br/>
|
240
|
+
|
241
|
+
<s>第2回締切:201n年n月n日(土) 23:59まで</s><br/>
|
242
|
+
|
243
|
+
第3回締切:201n年n月n日(火) 23:59まで<br/>
|
244
|
+
|
245
|
+
◆当選人数:毎月10名様(合計30名様)<br/>
|
246
|
+
|
247
|
+
◆当選賞品:〇〇<br/>
|
248
|
+
|
249
|
+
</p>
|
250
|
+
|
251
|
+
</td>
|
252
|
+
|
253
|
+
</tr>
|
254
|
+
|
255
|
+
<tr>
|
256
|
+
|
257
|
+
<td align="center">
|
258
|
+
|
259
|
+
<a href="https://goo.goo/L" target="_blank"><img src="https://members.com/_var/images/button_new.png" width="240" height="42" alt="詳しい応募方法"></a>
|
260
|
+
|
261
|
+
</td>
|
262
|
+
|
263
|
+
</tr>
|
264
|
+
|
265
|
+
<tr>
|
266
|
+
|
267
|
+
<td style="padding:25px 0 0">
|
268
|
+
|
269
|
+
</td>
|
270
|
+
|
271
|
+
</tr>
|
272
|
+
|
273
|
+
</table>
|
274
|
+
|
275
|
+
</td>
|
276
|
+
|
277
|
+
</tr>
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
<tr>
|
282
|
+
|
283
|
+
<td><img src="https://members.com/_var/images/spacer.gif" style="display:block;" height="60" alt=""></td>
|
284
|
+
|
285
|
+
</tr>
|
286
|
+
|
287
|
+
<tr>
|
288
|
+
|
289
|
+
<td class="common_padding" style="padding:0 15px">
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
<!-- Contents -->
|
294
|
+
|
295
|
+
<table class="container" width="670" border="0" cellspacing="0" cellpadding="0">
|
296
|
+
|
297
|
+
<tr>
|
298
|
+
|
299
|
+
<!-- 大見出し -->
|
300
|
+
|
301
|
+
<td style="color:#fff; background:#003E7E; font-size:20px; font-weight:bold; line-height:1.4; padding:15px">お知らせ
|
302
|
+
|
303
|
+
</td>
|
304
|
+
|
305
|
+
</tr>
|
306
|
+
|
307
|
+
<tr>
|
308
|
+
|
309
|
+
<!--
|
310
|
+
|
311
|
+
<td style="padding:30px 0 0;">
|
312
|
+
|
313
|
+
</td>
|
314
|
+
|
315
|
+
-->
|
316
|
+
|
317
|
+
</tr>
|
318
|
+
|
319
|
+
</table>
|
320
|
+
|
321
|
+
<!-- /Contents -->
|
322
|
+
|
323
|
+
</td>
|
324
|
+
|
325
|
+
</tr>
|
326
|
+
|
327
|
+
<tr>
|
328
|
+
|
329
|
+
<td><img src="https://members.com/_var/spacer.gif" style="display:block;" height="60" alt=""></td>
|
330
|
+
|
331
|
+
</tr>
|
332
|
+
|
333
|
+
<!-- Footer -->
|
334
|
+
|
335
|
+
<tr>
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
<td align="center" style="font-size:11px; line-height:1.4; padding:40px 0; background:#ebebeb;">
|
340
|
+
|
341
|
+
<!--
|
342
|
+
|
343
|
+
-->
|
344
|
+
|
345
|
+
</td>
|
346
|
+
|
347
|
+
</tr>
|
348
|
+
|
349
|
+
</table>
|
350
|
+
|
351
|
+
<!-- /container -->
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
</center>
|
356
|
+
|
357
|
+
</td>
|
358
|
+
|
359
|
+
</tr>
|
360
|
+
|
361
|
+
</table>
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
</div>
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
</body>
|
370
|
+
|
371
|
+
</html>
|
372
|
+
|
373
|
+
```
|