我们如何更改代码以使精灵菜单具有每个元素的不同背景位置?
CSS:
#sd_menue { width: 266px; margin-top: 211px; float: left; }
#sd_menue li { list-style-type: none; }
#sd_menue a span { display: none; }
#sd_menue a:hover, #sd_menue a.selected { background-position: 0px -46px; }
#sd_menue a.wohnbereiche{ background-image: url('sd1.png'); }
#sd_menue a.fliesen { background-image: url('sd2.png'); }
#sd_menue a.bad { background-image: url('sd3.png'); }
#sd_menue a.kueche { background-image: url('sd4.png'); }
#sd_menue a.aussenbereich { background-image: url('sd5.png'); }
#sd_menue a.pflasterarbeiten { background-image: url('sd6.png'); }