<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Test corner button</title>
<style type=”text/css”>
* {
padding: 0;
margin: 0
}
.button {
margin: 10px; /* don’t care */
background:url(‘images/button/big_right.png’) no-repeat right center;
height: 35px; /* = HEIGHT(right.png) = HEIGHT(left.png) */
width: 100px /* <= WIDTH(big_left.png) */
}
.longtext {
width: 150px /* <= WIDTH(big_left.png) */
}
.morelongtext {
width: 200px /* <= WIDTH(big_left.png) */
}
.button .bleft {
position:relative;
height: 100%;
margin-right:15px; /* = WIDTH(big_right.png) */
background:url(‘images/button/big_left.png’) no-repeat;
text-align:center;
padding-left:15px; /* = WIDTH(big_right.png) */
/*
center vertical
a font-size + 2*padding-top ~ HEIGHT(big_left.png)
*/
padding-top: 7px
}
.button .bleft a {
color:white;
font-family: Tahoma;
text-decoration:none;
text-transform: uppercase
}
</style>
</head>
<body>
<div>
<div>
<a href=”?”>I</a>
</div>
</div>
<hr />
<div>
<div>
<a href=”?”>I love</a>
</div>
</div>
<hr />
<div>
<div>
<a href=”?”>I love you</a>
</div>
</div>
</body>
</html>
