Hallo alle zusammen.
ich habe einen Div container mit folgenden CSS eingeschaften:
.tabsmenuclass a{
display: block;
padding: 12px 0 0 14px;
color: #7C7F85 !important;
width: 150px;
height: 38px;
font-style: italic !important;
background-image:url(../images/menuBg.png);
background-repeat: no-repeat;
text-decoration: none;
font: bold 13px Arial;
margin-bottom: 30px;
}
.tabsmenuclass a:hover {
color: #000 !important;
background-image:url(../images/menuBg_active.png);
background-repeat: no-repeat;
}
.tabsmenuclass a:active {
color: #000 !important;
background-image:url(../images/menuBg_active.png);
background-repeat: no-repeat;
}
bis auf die a:active klappt es super.
sprich der div container hat die bg image menuBG.png und beim hover erscheint die menuBG_active.
Jetzt möchte ich aber das der div container die menuBG_active anzeigt wenn man in angeklickt hat.
wo liegt da der Fehler?