Skip to content

Commit de0a08b

Browse files
committed
Some quirks
1 parent 73eec4a commit de0a08b

File tree

2 files changed

+25
-15
lines changed

2 files changed

+25
-15
lines changed

contact.html

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,44 +25,46 @@
2525
</p>
2626
<form action="/submit-form" method="post">
2727
<div>
28-
<label for="name">* Name:</label>
28+
<label for="name">Name: *</label>
2929
<input type="text" id="name" name="user_name" required autocomplete="name">
3030
</div>
3131

3232
<div>
3333
<label for="email">E-mail:</label>
34-
<input type="email" id="email" name="user_email" required autocomplete="email">
34+
<input type="email" id="email" name="user_email" autocomplete="email">
35+
(optional, unless you want a reply)
3536
</div>
3637

3738
<div>
38-
<label for="subject">* Subject:</label>
39+
<label for="subject">Subject: *</label>
3940
<input type="text" id="subject" name="user_subject" required autocomplete="on">
4041
</div>
4142

4243
<div>
43-
<label for="subject_topic">* Topic:</label>
44+
<label for="subject_topic">Topic: *</label>
4445
<select id="subject_topic" name="subject_topic_prefix" required>
4546
<option value="" disabled selected>-- Select a topic --</option>
46-
<option value="Bug Report">Bug Report</option>
47-
<option value="Feature Suggestion">Feature Suggestion</option>
47+
<option value="Bug report">Bug report</option>
48+
<option value="Feature suggestion">Feature suggestion</option>
4849
<option value="Partnership">Partnership</option>
49-
<!-- <option value="Billing Inquiry">Billing Inquiry</option> -->
50-
<option value="General Question">General Question</option>
50+
<!-- <option value="Billing inquiry">Billing inquiry</option> -->
51+
<option value="General question">General question</option>
5152
<option value="Other">Other</option>
5253
</select>
5354
</div>
5455

5556
<div>
56-
<label for="subject_custom">* Subject details (optional, max. 70 chars):</label>
57+
<label for="subject_custom">Subject details:</label>
5758
<input type="text" id="subject_custom" name="subject_custom_suffix" maxlength="70" placeholder="e.g., Login page issue">
59+
(optional, max. 70 chars)
5860
</div>
5961

6062
<!-- Hidden field to store the combined subject -->
6163
<input type="hidden" id="user_subject_combined" name="user_subject">
6264

6365
<div>
64-
<label for="message">* Message:</label>
65-
<textarea id="message" name="user_message" rows="5" required></textarea>
66+
<label for="message">Message: *</label>
67+
<textarea id="message" name="user_message" rows="8" required></textarea>
6668
</div>
6769

6870
<div>
@@ -130,5 +132,8 @@
130132
});
131133
</script>
132134

135+
<div class="imprint">
136+
<span class="bold">Imprint:</span> Martin N.
137+
</div>
133138
</body>
134139
</html>

css/layout.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ a:link { }
33
a:active { }
44
a:visited { }
55
body {
6-
# background: #999;
6+
/* background: #999; */
77
background-image: url("../img/bg_martiz.gif");
88
background-repeat: repeat;
99
margin: 3em 10% 2em 10%;
@@ -36,7 +36,7 @@ div.content {
3636
font-style: italic;
3737
margin-bottom: 0.5em;
3838
padding: 2em;
39-
# text-align: center;
39+
/* text-align: center; */
4040
}
4141
.big {
4242
font-size: 150%;
@@ -60,7 +60,7 @@ div.content a:visited {
6060
border-top: 0px;
6161
}
6262
div.content ul {
63-
# margin-left: 3em;
63+
/* margin-left: 3em; */
6464
}
6565
div.links {
6666
background: #ccc;
@@ -84,11 +84,16 @@ div.imprint {
8484
border-top: dotted 2px #666;
8585
color: #333;
8686
font-family: georgia, serif;
87-
# font-size: 80%;
87+
/* font-size: 80%; */
8888
margin-top: 0.5em;
8989
padding: 1em;
9090
text-align: left;
9191
}
9292
.bold {
9393
font-weight: bold;
94+
}
95+
label {
96+
margin-right: 2em;
97+
/* height: 100%; */
98+
/* text-align: top; */
9499
}

0 commit comments

Comments
 (0)