Css menu becomes transparent over javascript

I'm trying to implement a css menu in a website, and have run into a problem.

Note: The css is in the file, it's the only thing under The javascript is called http://w.sharethis.com/button/buttons.js and it's defined on the header as well. The menu is called cssmenu.

The problem is, on that css menu, when hovering over contact, the background colors are transparent, and with my limited knowledge on the subject, I really don't know how to fix this. The css menu is not my creation, I found it on the web. I have modified many properties that I knew how, but got stuck there.

Answers


You need to bump up the z-index of the main menu <ul> so it always appears over the ShareThis bar:

ul.cssmenu {
    display: block;
    zoom: 1;
    float: left;
    position:relative; /* allows the z-index to be effective -- http://www.w3.org/wiki/CSS/Properties/z-index */
    z-index:100; /* makes the menu appear above the ShareThis widget */
}

Need Your Help

Android Activity can not be instantiated

android android-activity actionbarsherlock runtimeexception instantiationexception

Recently I have installed Ubuntu 12.04 in place of my Win7. I use Eclipse Juno / Java7. But when I am trying to Run my application I get the following line of errors although everything is in its p...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.