Forum Moderators: not2easy
.block-type-navigation ul.menu li.fb-profil, .gplus, .xing {
background-image:url(headnav-sprite.png) no-repeat;
width: 25px;
height: 25px;
}
#fb-profil { background-position: 0 0; }
#gplus-profil { background-position: 30px 0; }
#xing-profil { background-position: 60px 0; }
.block-type-navigation ul.menu li.fb-profil, .gplus, .xing
Sounds like a recipe for mass confusion :)
.fb-profil a {
display:block; height:25px; width:25px; padding:0; margin-left:6px; outline:none; text-indent:-9999px;
background-image:url('headnav-sprite.png'); background-position:0 0;
}
.gplus-profil a {
display:block; height:25px; width:25px; padding:0; margin-left:6px; outline:none; text-indent:-9999px;
background-image:url('headnav-sprite.png'); background-position:-30px 0;
}
.xing-profil a {
display:block; height:25px; width:25px; padding:0; margin-left:6px; outline:none; text-indent:-9999px;
background-image:url('headnav-sprite.png'); background-position:-60px 0;
}
The following CSS lets the icon-sprite appear, but twice, one below the other.
Further the CSS editor is not happy about the text-indent, saying "set direction for that item to ltr." ?
why on earth are you setting the text-indent to a vast negative number
All menu items need to have a "label"
HTML-validation (? not sure)