【发布时间】:2013-02-22 15:10:24
【问题描述】:
这是我的按钮: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
如何将按钮放在左中角的背景上?
【问题讨论】:
-
这个问题没有显示任何研究工作;不清楚也没有用
标签: html css button background position