-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuttons.html
53 lines (46 loc) · 1.32 KB
/
buttons.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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Button Samples</title>
<style type="text/css">
body { font: normal 0.75em/1.2 "Lucida Grande", Tahoma, Arial, Verdana, sans-serif; }
/* clearfix */
.group:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
/* IE 6 */
* html .group {
height: 1%;
}
/* IE 7 */
*:first-child+html .group {
min-height: 1px;
}
</style>
<link rel="stylesheet" href="buttons.css" type="text/css" />
</head>
<body>
<div class="buttons group">
<button type="submit" class="positive">
<img src="images/icons/tick.png" alt=""/>
Save
</button>
<a href="#" onclick="return false;">
<img src="images/icons/textfield_key.png" alt=""/>
Change Password
</a>
<a href="#" class="negative" onclick="return false;">
<img src="images/icons/cross.png" alt=""/>
Cancel
</a>
</div>
<div>
<p>All credit goes to the guys over at <a href="http://particletree.com">Particletree/Wufoo</a> – I’m just adapting <a href="http://particletree.com/features/rediscovering-the-button-element/">their code</a> to suit my re-use (this is their sample code, too, aside from some basic styling).</p>
</div>
</body>
</html>