Hallo,
Ich hab mir folgendes horizontale menue angelegt:
PHP
<div id="header">
<ul id="pages">
<?php wp_list_pages('sort_column=menu_order&title_li=&depth=1'); ?>
</ul>
</div>
funktioniert einwandfrei!
nun habe ich diese css - Befehle aus einem anderen theme übernommen und abgeändert:
Code
#pages {
font-size: 12px;
font-weight: bold;
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
text-transform: lowercase;
}
#pages ul {
margin-top: 15px;
padding-left: 0;
margin-left: 30px;
}
#pages li {
float: left;
width: 8em;
}
#pages a {
display: block;
height: 45px;
width: 8em;
line-height: 45px;
padding: 160px 0 0 0;
text-align: center;
text-decoration: none;
}
#pages a:hover, #pages a:focus, #pages a:active {
display: block;
height: 45px;
width: 8em;
line-height: 45px;
padding: 160px 0 0 0;
text-align: center;
background: #ffffcc; opacity: .50; filter: alpha(opacity=50); -moz-opacity: 0.5;
color: #000;
}
Alles anzeigen
hier möchte ich gern, dass die aufgerufene Seite mit dem transparenten Hintergrund belegt wird!
a:hover funktioniert der rest nicht! Warum??
a:visited habe ich auch mal ausprobiert! das funktioniert auch einwandfrei im IE und in Firefox aber active leider nicht :(
Weis jemand an was das liegen könnte?
bin sehr Dankbar über eure Hilfe