-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
57 lines (52 loc) · 1.07 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML Form Validation Error Styles</title>
</head>
<body>
<div>
<h1>HTML Form validation error styles</h1>
<h2>NOTE: Due to changes in implementation, these demos no longer work how they did in 2011</h2>
<ul>
<li><a href="./errorStyles/01">Style 01</a></li>
<li><a href="./errorStyles/02">Style 02</a></li>
<li><a href="./errorStyles/03">Style 03</a></li>
</ul>
</div>
<link rel="stylesheet" href="css/reset.css">
<style>
body {
background-color: #d2d2d2;
font-family: 'helvetica neue', arial, sans-serif;
font-size: 100%;
min-width: 300px;
}
h1 {
color: #353535;
font-size: 1.4em;
font-weight: bold;
padding: 0 20px;
}
h2 {
background-color: yellow;
color: black;
padding: 1em 1.2em;
}
ul {
border-top: 1px solid #bebebe;
line-height: 1.4em;
margin-top: 1em;
padding: 1em 20px 0 20px;
}
li {
list-style: disc inside;
}
div {
max-width: 400px;
margin: 0 auto;
width: 90%;
}
</style>
</body>
</html>