Hallo,
wir haben in unserem Forum ein Menu eingebaut, welches mit CSS eine Liste derart gestaltet, dass es beim Drüberfahren ausfährt. Funktioniert gut. Nun schrieb mich jedoch eine Userin an, dass sie und ein weiterer User schwarze Stellen bei ausgefahrenem Menu habe. Dies kann ich nicht nachvollziehen und auch im Code nichts entdecken. Beide verwenden Firefox, jetzt Version 39.0, Windows 7, beides ältere Rechner.
Daher frage ich, ob Ihr eine Idee habt, woran dies liegen könnte. Ich habe es bereits mit Umstellung versucht sowie hinzufügen eines unsichtbaren Rahmens mit transparentem Hintergrund.
Anbei die einzelnen Dateien:
menu.css
header.html (unwichtige/persönliche Sachen herausgelöscht und durch ... ersetzt) - heady, da es ein ähnliches System (ohne rausfahrende Menus) für Gäste existiert
Screen:

Woran könnte es liegen? Kann man den Code ggf. zusammenfassen? Leider wurde mir dieser so überlassen bzw. wurde immer wieder durch verschiedene Personen darin herumgearbeitet.
Danke schon einmal :)
wir haben in unserem Forum ein Menu eingebaut, welches mit CSS eine Liste derart gestaltet, dass es beim Drüberfahren ausfährt. Funktioniert gut. Nun schrieb mich jedoch eine Userin an, dass sie und ein weiterer User schwarze Stellen bei ausgefahrenem Menu habe. Dies kann ich nicht nachvollziehen und auch im Code nichts entdecken. Beide verwenden Firefox, jetzt Version 39.0, Windows 7, beides ältere Rechner.
Daher frage ich, ob Ihr eine Idee habt, woran dies liegen könnte. Ich habe es bereits mit Umstellung versucht sowie hinzufügen eines unsichtbaren Rahmens mit transparentem Hintergrund.
Anbei die einzelnen Dateien:
menu.css
Code:
/* HEADNAVIGATION - USERLINKS */
heady {
margin: 0;
padding: 0;
position: fixed;
top: 0;
left: 0;
width: 100%;
text-align: center;
z-index: 30;
opacity:.85;
background-color: #d3d6cf;
}
heady ul {
padding: 0px;
margin: auto;
width: 850px;
background-color: #d3d6cf;
}
heady ul:after {
clear: both;
content: " ";
display: block;
font-size: 0;
height: 0;
visibility: hidden;
background-color: #d3d6cf;
}
heady ul,heady ul li{
background-color: #d3d6cf;
}
heady ul li {
list-style: none;
float:left;
position: relative;
background-color: transparent !important;
}
heady ul li a {
text-decoration: none;
display: block;
color: #9c0503;
width: 106px;
background-color: #d3d6cf;
text-align: center;
padding: 0px;
padding-top: 15px;
padding-bottom: 15px;
transition: background 0.3s ease-out; /* explorer 10 */
-webkit-transition: background 0.3s ease-out; /* chrome & safari */
-moz-transition: background 0.3 ease-out; /* firefox */
-o-transition: background 0.3 ease-out; /* opera */
}
heady ul li:hover > a {
background-color: #b9c4c0 !important;
}
heady ul li:hover > ul {
visibility: visible;
background-color: #b9c4c0;
left: 0;
width: 150px;
}
heady ul li ul{
display: inline;
visibility: hidden;
position: absolute;
padding:0px;
}
heady ul li ul li{
float: none;
text-align: left;
}
heady ul li ul li a {
width: 150px;
padding: auto;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 5px;
text-align: left;
}
heady ul li ul li a:hover{
background-color: #b9c4c0 !important;
width: 150px;
padding: auto;
padding-top: 5px;
padding-bottom: 5px;
text-align: left;
}
header.html (unwichtige/persönliche Sachen herausgelöscht und durch ... ersetzt) - heady, da es ein ähnliches System (ohne rausfahrende Menus) für Gäste existiert
Code:
<heady>
<ul>
<li><a href="usercp.php"><normalfont>Profile</font></a>
<ul>
<li><a href="usercp.php?action=profile_edit"><smallfont>Profile</font></a></li>
<li><a href="usercp.php?action=password_change"><smallfont>Password</font></a></li>
<li><a href="usercp.php?action=options_change"><smallfont>Options</font></a></li>
<li><a href="usercp.php?action=avatars"><smallfont>Avatar</font></a></li>
<li><a href="usercp.php?action=signature_edit"><smallfont>Signature</font></a></li>
<li><a href="thread.php?threadid=1708"><smallfont>Profile-Help</font></a></li>
</ul>
</li>
<li><a href="#"><normalfont>Userchange</font></a>
<ul>$userchangebit</ul>
</li>
<li><a href="pms.php"><normalfont>Postbox ($countunread)</font></a></li>
<li><a href="usercp.php?action=favorites"><normalfont>My Favs</font></a></li>
<li><a href="listen.php"><normalfont>Lists</font></a>
<ul>
<li><a href="..."><smallfont>...</font></a></li>
<li><a href="..."><smallfont>....</font></a></li>
<li><a href="..."><smallfont>...</font></a></li>
<li><a href="..."><smallfont>...</font></a></li>
<li><a href="..."><smallfont>...</font></a></li>
</ul>
</li>
<li><a href="#"><normalfont>...</font></a>
<ul>
<li><a href="..."><smallfont>...</font></a></li>
<li><a href="..."><smallfont>...</font></a></li>
<li><a href="..."><smallfont>...</font></a></li>
</ul>
</li>
<li><a href="#"><normalfont>...</font></a>
<ul>
<li><a href="..."><smallfont>...</font></a></li>
<li><a href="..."><smallfont>...</font></a></li>
<li><a href="..."><smallfont>what you missed</font></a></li>
<li><a href="search.php?action=24h"><smallfont>the last 24 hours</font></a></li>
<li><a href="markread.php"><smallfont>mark all read</font></a></li>
</ul>
</li>
<li><a href="logout.php"><normalfont>Logout</font></font></a></li></ul>
</heady>
Screen:

Woran könnte es liegen? Kann man den Code ggf. zusammenfassen? Leider wurde mir dieser so überlassen bzw. wurde immer wieder durch verschiedene Personen darin herumgearbeitet.
Danke schon einmal :)
Zuletzt bearbeitet: