But for some reasons it gets white for some users.
I know that some whit firefox gets a white Drop Down List
http://www.volunteerforum.se/testpage.php
(The testpage has its own test header)
anyone that knows what the problem can be ?
(Can it be a conflict whit the forum's code somehow ?)
If you take "View Sorce" you can see the full drop down menu code:
Code: Select all
<style type="text/css">
#csstopmenu, #csstopmenu ul{
padding: 0;
margin: 0;
list-style: none;
}
#csstopmenu li{
float: left;
position: relative;
}
#csstopmenu a{
text-decoration: none;
}
.mainitems{
border: 0px solid blue;
border-left-width: 0;
background-color: #EFF3F6;
}
.headerlinks a{
margin: auto 9px;
font-weight: bold;
color: white;
}
.submenus{
display: none;
width: 13em;
position: absolute;
top: 1.2em;
left: 0;
background-color: #FAFAFA;
border: 1px solid silver;
}
.submenus li{
width: 100%;
}
.submenus li a{
display: block;
width: 100%;
text-indent: 3px;
border: 1px solid white;
}
html>body .submenus li a{ /* non IE browsers */
width: auto;
}
.submenus li a:hover{
background-color: #EFEFEF;
color: black;
}
#csstopmenu li>ul {/* non IE browsers */
top: auto;
left: auto;
}
#csstopmenu li:hover ul, li.over ul {
display: block;
}
html>body #clearmenu{ /* non IE browsers */
height: 3px;
}
</style>
<script type="text/javascript">
startMenu = function() {
if (document.all&&document.getElementById) {
cssmenu = document.getElementById("csstopmenu");
for (i=0; i<cssmenu.childNodes.length; i++) {
node = cssmenu.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function(){
this.className=this.className.replace(" over", "")
}
}
}
}
}
if (window.attachEvent)
window.attachEvent("onload", startMenu)
else
window.onload=startMenu;
</script>
<ul id="csstopmenu">
<li class="mainitems">
<div class="headerlinks"><a href="http://www.volunteerforum.se/portal.php">•Portal</a></div>
</li>
<li class="mainitems">
<div class="headerlinks"><a href="http://www.volunteerforum.se/index.php">•Forum</a></div>
</li>
<li class="mainitems">
<div class="headerlinks"><a href="#"><IMG SRC="http://www.volunteerforum.se/overallheader/ar1.gif">Navigation</a></div>
<ul class="submenus" style="width: 14em">
<DIV align=left>
<li><a href="http://www.volunteerforum.se/portal.php">Portal</a></li>
<li><a href="http://www.volunteerforum.se/index.php">Forum</a></li>
<li><a href="http://www.volunteerforum.se/blog">Blog</a></li>
<li><a href="http://www.volunteerforum.se/links.php">Links</a></li>
<li><a href="http://www.volunteerforum.se/search.php">Search</a></li>
<li><a href="http://www.volunteerforum.se/websiteindex.php">Website</a></li>
<li><a href="http://www.volunteerforum.se/album.php">Photo Album</a></li>
<li><a href="http://www.volunteerforum.se/general.php">General Content</a></li>
</DIV>
</ul>
</li>
<!-- BEGIN switch_user_logged_in -->
<li class="mainitems">
<div class="headerlinks"><a href="#"><IMG SRC="http://www.volunteerforum.se/overallheader/ar1.gif">User Menu</a></div>
<ul class="submenus">
<DIV align=left>
<li><a href="http://www.volunteerforum.se/portal.php">Portal</a></li>
<li><a href="http://www.volunteerforum.se/index.php">Forum</a></li>
<li><a href="http://www.volunteerforum.se/profile.php?mode=editprofile">Profile</a></li>
<li><a href="http://www.volunteerforum.se/search.php">Search</a></li>
<li><a href="http://www.volunteerforum.se/memberlist.php">Memberlist</a></li>
<li><a href="http://www.volunteerforum.se/groupcp.php">User Groups</a></li>
<li><a href="http://www.volunteerforum.se/privmsg.php?folder=inbox">Private Messeges</a></li>
</DIV>
</ul>
</li>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<li class="mainitems">
<div class="headerlinks"><a href="#"><IMG SRC="http://www.volunteerforum.se/overallheader/ar1.gif">Guest Menu</a></div>
<ul class="submenus">
<DIV align=left>
<li><a href="http://www.volunteerforum.se/profile.php?mode=register">Register</a></li>
<li><a href="http://www.volunteerforum.se/portal.php">Portal</a></li>
<li><a href="http://www.volunteerforum.se/index.php">Forum</a></li>
<li><a href="http://www.volunteerforum.se/search.php">Search</a></li>
<li><a href="http://www.volunteerforum.se/whatis.php">What is a volunteer ?</a></li>
</DIV>
</ul>
</li>
<!-- END switch_user_logged_out -->
<li class="mainitems">
<div class="headerlinks"><a href="#"><IMG SRC="http://www.volunteerforum.se/overallheader/ar1.gif">General</a></div>
<ul class="submenus">
<DIV align=left>
<li><a href="http://www.volunteerforum.se/faq.php">FAQ</a></li>
<li><a href="http://www.volunteerforum.se/profile.php?mode=register">Register</a></li>
<li><a href="http://www.volunteerforum.se/sitemap.php">Site Map</a></li>
<li><a href="http://www.volunteerforum.se/aboutus.php">About Us</a></li>
<li><a href="http://www.volunteerforum.se/contact_form.php">Contact Us</a></li>
<li><a href="http://www.volunteerforum.se/whatis.php">What is a volunteer ?</a></li>
</DIV>
</ul>
</li>
<li class="mainitems">
<a href="{U_LOGIN_LOGOUT}"><B><FONT COLOR="#2355C0">•{CA_L_LOGIN_LOGOUT}</FONT></B></a>
</li>
<!-- BEGIN switch_user_logged_out -->
<li class="mainitems">
<a href="http://www.volunteerforum.se/profile.php?mode=register"><B><FONT COLOR="#2355C0"> •Register</FONT></B></a>
</li>
<!-- END switch_user_logged_out -->
</ul>
<div id="clearmenu" style="clear: left"></div>
http://www.volunteerforum.se/Minmapp/Te ... header.zip