-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (60 loc) · 1.4 KB
/
Copy pathindex.html
File metadata and controls
60 lines (60 loc) · 1.4 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
<html>
<head><meta http-equiv="pragma" content="no-cache"/></head>
<body>
<style>
.container{
width:100%;
margin:0 auto;
}
.grid_container{
display: grid;
grid-template-columns: 1fr 2fr 1fr;
}
.grid_item{
margin: 0 auto;
}
.label{
font-style: bold;
background-color:green;
color:white;
}
.table{
border: 1px solid black;
}
</style>
<div class="container">
<div class="grid_container">
<div class="grid_item"></div>
<div class="grid_item form">
<h1>My Cool Form</h1>
<form action="post.php" method="post">
<input type="hidden" name="action" value="process_donation">
<table class="tabel">
<tr>
<td class="label">First Name:</td>
<td><input type="text" placeholder="name" name="f_name"></td>
</tr>
<tr>
<td class="label">Last Name:</td>
<td><input type="text" placeholder="last name" name="l_name"></td>
</tr>
<tr>
<td class="label">Active:</td>
<td><input name="active" type="checkbox"></td>
</tr>
<tr>
<td class="label">Amount</td>
<td><input type="number" name="amount"></td>
</tr>
<tr>
<td class="label"></td>
<td><input type="submit" value="submit"></td>
</tr>
</table>
</form>
</div>
<div class="grid_item"></div>
</div>
</div>
</body>
</html>