这是我的按钮:http: //jsfiddle.net/cRqhT/120/
HTML:
<a id="button" href="http://example.com"</a>
CSS:
#button{
display: block;
width: 121px;
height: 40px;
background: url(https://gator1174.hostgator.com/~mskparik/facebook/1.png) no-repeat top;
}
#button:hover {
background: url(https://gator1174.hostgator.com/~mskparik/facebook/2.png) no-repeat bottom;
}
这是背景:http ://b.dryicons.com/files/graphics_previews/shining_background.jpg
如何将按钮放在左中角的背景上?