我用sprite-css图片替换了Polyglot下拉箭头。我可以向上显示箭头但不向下悬停箭头图像(左下角),因为它是单个gif图像: http://www.bestjob.my/mod/LanguageSwitcher/images/arrow-down.gif
#polyglotLanguageSwitcher a.current:link span.trigger, #polyglotLanguageSwitcher a.current:visited span.trigger {
background: url(http://www.bestjob.my/mod/CSS/sprites/spriteme2b.png) no-repeat;background-position: 0px -37px;
}
#polyglotLanguageSwitcher a.current:hover span.trigger, #polyglotLanguageSwitcher a.current:active span.trigger, #polyglotLanguageSwitcher a.active span.trigger {
background-position: left bottom !important;
}
有什么建议吗?我是否需要向上切割箭头并将箭头向下拖动到2 png中,然后将精灵图像放入不同的背景位置?