質問編集履歴
1
該当箇所のコードを追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,3 +4,74 @@
|
|
4
4
|
iPhoneでの入力時にのみこうなってしまいます。
|
5
5
|
|
6
6
|
解決策をご教授いただけますと幸いです。
|
7
|
+
以下該当箇所のコードになります。
|
8
|
+
|
9
|
+
```HTML5
|
10
|
+
<form action="mail.php" method="post" id="mailform">
|
11
|
+
<div class="mail-form-author">
|
12
|
+
<label for="name" class="name"></label>
|
13
|
+
<input id="name" name="name;s" type="text" value="" size="30" aria-required='true' />
|
14
|
+
</div>
|
15
|
+
<div class="mail-form-email">
|
16
|
+
<label for="email" class="email"></label>
|
17
|
+
<input id="email" name="email;s" type="text" value="" size="30" aria-required='true' />
|
18
|
+
</div>
|
19
|
+
<div class="mail-form-subject">
|
20
|
+
<label for="subject" class="subject"></label>
|
21
|
+
<input id="subject" name="subject" type="text" value="" size="30" />
|
22
|
+
</div>
|
23
|
+
<div class="mail-form-message">
|
24
|
+
<label for="message" class="message"></label>
|
25
|
+
<textarea id="message" name="message;s" cols="45" rows="8" aria-required="true"></textarea>
|
26
|
+
</div>
|
27
|
+
<div class="form-submit">
|
28
|
+
<input name="submit" type="submit" id="submit" value="" class="confirm_button" />
|
29
|
+
<input name="reset" type="reset" id="submit" value="" class="reset_button" />
|
30
|
+
</div>
|
31
|
+
</form>
|
32
|
+
```
|
33
|
+
```css
|
34
|
+
form#mailform label{
|
35
|
+
display: block;
|
36
|
+
width: 70px;
|
37
|
+
height: 20px;
|
38
|
+
float: left;
|
39
|
+
background-size: cover;
|
40
|
+
|
41
|
+
.mail-form-author input, .mail-form-email input, .mail-form-subject input{
|
42
|
+
font-family: 'MS Pゴシック', sans-serif;
|
43
|
+
display: block;
|
44
|
+
width: 224px;
|
45
|
+
line-height: 20px;
|
46
|
+
font-size: 15px;
|
47
|
+
height: 14px;
|
48
|
+
border: 1px solid #61ab69;
|
49
|
+
background: #e7f9e6;
|
50
|
+
padding: 2px;
|
51
|
+
float: left;
|
52
|
+
}
|
53
|
+
|
54
|
+
form#mailform textarea{
|
55
|
+
font-family: 'MS Pゴシック', sans-serif;
|
56
|
+
display: block;
|
57
|
+
width: 224px;
|
58
|
+
line-height: 20px;
|
59
|
+
font-size: 15px;
|
60
|
+
height: 144px;
|
61
|
+
border: 1px solid #61ab69;
|
62
|
+
background: #e7f9e6;
|
63
|
+
padding: 2px;
|
64
|
+
float: left;
|
65
|
+
}
|
66
|
+
.mail-form-author, .mail-form-email, .mail-form-subject {
|
67
|
+
width: 300px;
|
68
|
+
height: 20px;
|
69
|
+
margin-bottom: 5px;
|
70
|
+
}
|
71
|
+
.mail-form-message{
|
72
|
+
width: 300px;
|
73
|
+
height: 150px;
|
74
|
+
margin-bottom: 5px;
|
75
|
+
}
|
76
|
+
```
|
77
|
+
|