Hallo Leute,
Ich hab ein kleines Problem. Vielleicht könnt ihr mir helfen.
Ich hab eine Navi mit 4 Buttons. Ich möchte das jedes Button ein anderes Hintergrundbild bekommt bei aktivem und inaktivem Link. Letzteres hab ich hinbekommen und zwar mit:
[COLOR=Blue].page-item-63 a {
width: 133px ;
height: 78px ;
text-indent: -900em;
display:block;
}
.page-item-63 {
background-color: transparent;
background-image: url(images/button1a.png);
background-repeat: no-repeat;
background-attachment: scroll;
background-position: left top;
}[/COLOR]
[COLOR=Blue].page-item-62 a {
width: 132px ;
height: 78px ;
text-indent: -900em;
display:inline;
}
.page-item-62 {
background-color: transparent;
background-image: url(images/button2a.png);
background-repeat: no-repeat;
background-attachment: scroll;
background-position: left top;
}[/COLOR]
Zwecks der länge nur der Code für die ersten 2 Buttons. Jetzt kommt aber das Problem wenn ein Button aktiv ist soll es eben auch ein anderes Hintergrundbild bekommen. Habs versucht mit:
[COLOR=Blue].current_page_item {
background-color: transparent;
background-image: url(images/button2b.png);
background-repeat: no-repeat;
background-attachment: scroll;
background-position: left top;
}[/COLOR]
ich kann ja aber [COLOR=Blue].current_page_item [COLOR=Black]keine id mitgeben wie bei[/COLOR] [/COLOR][COLOR=Blue].page-item-62 [COLOR=Black], so hat jetzt leider jedes aktive Button den gleichen Hintergrund.:confused:
Ich hoffe, dass mir jemand bei meinem Problem helfen kann.
Danke schon mal :-D
[/COLOR][/COLOR]