Und wieder einen Schritt weiter:
Das Flackern der Buttons (wegen der Ladezeiten) ist weg.
Ich hab' 'was über background-position
gelernt.
Also:
/*Menuetasten*/
#HomeCurrent {
background-image: url("../images/HomeDown.jpg");
background-repeat: no-repeat;
display: block;
width: 110px;
height: 40px
}
#home:link {
display: block;
background-image: url("../images/Home3State.jpg");
width: 110px;
height: 40px;
background-repeat: no-repeat;
background-position: center top;
}
#home:visited {
display: block;
background-image: url("../images/Home3State.jpg");
width: 110px;
height: 40px;
background-repeat: no-repeat;
background-position: center top;
}
#home:hover {
display: block;
background-image: url("../images/Home3State.jpg");
width: 110px;
height: 40px;
background-repeat: no-repeat;
background-position: center center;
}
#home:active {
display: block;
background-image: url("../images/Home3State.jpg");
width: 110px;
height: 40px;
background-repeat: no-repeat;
background-position: centerbottom;
}
.
.
.
Dazu gehört dann jeweils ein Bild mit allen drei Zuständen des Buttons.
Gruß
dieselross
--
- life's for learning -
- life's for learning -