I am trying to make CSS drop down menu (no javascript involved). According to http://pixelspread.com/blog/289/css-drop-down-menu I only need to add
#menuB
div.subMenu is not a descendant of 'a' tag. Try:
#menuBar #test2 a:hover + .subMenu{ display:block; }
The '+' means 'direct following sibling of'
You will probably need also
.submenu:hover { display:block; }
Or just combine them:
#menuBar > li > a:hover + .subMenu, .submenu:hover { display:block; }