-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
97 lines (86 loc) · 2.21 KB
/
form.html
File metadata and controls
97 lines (86 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Form</title>
<style>
#raynetLeadForm {
max-width: 600px; /* Adjust based on your preference */
margin: 0 auto;
}
#raynetLeadForm label {
display: block;
margin-top: 20px;
}
#raynetLeadForm input[type="text"],
#raynetLeadForm input[type="email"],
#raynetLeadForm input[type="submit"] {
width: 100%;
padding: 10px;
margin-top: 5px;
}
#raynetLeadForm .half-input {
display: inline-block;
width: 215px; /* Adjusting for potential margins */
}
#raynetLeadForm .half-input:last-child {
margin-right: 0;
}
#raynetLeadForm textarea {
width: 100%;
padding: 10px;
margin-top: 5px;
height: 100px; /* Adjust based on your preference */
}
#formNotification p {
margin-top: 10px;
padding: 10px;
border-radius: 5px;
}
</style>
</head>
<body>
<form id="raynetLeadForm">
<div class="half-input">
<label for="firstName">Jméno:</label>
<input
type="text"
id="firstName"
name="firstName"
placeholder="Jméno"
required
/>
</div>
<div class="half-input">
<label for="lastName">Příjmení:</label>
<input
type="text"
id="lastName"
name="lastName"
placeholder="Příjmení"
required
/>
</div>
<label for="topic">Předmět:</label>
<input
type="text"
id="topic"
name="topic"
placeholder="Předmět"
required
/>
<label for="email">E-mail</label>
<input type="email" id="email" name="email" placeholder="E-mail" />
<label for="textArea">Zpráva:</label>
<textarea
name="textArea"
id="textArea"
placeholder="Zde napište Vaší zprávu..."
required
></textarea>
<input type="submit" value="Odeslat" />
<div id="formNotification"></div>
</form>
</body>
</html>