(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    Submenus appear away for the java drop down menus.

Return to Recent Questions


Q: I have just bought the software and created a first java drop down menus.

As you can see the sub-menus appear away for the navigation bar.

This doesn't happen when I install the code into an .html file without any DIVs.

Can you suggest what the problem might be here?


A: java drop down menus can't get css properties of the object if they are described in separate .css block (or file).
You can't get the value of "position" attribute of the object if the object doesn't have this property within inline style (style="position:absolute"). To get the value you should move .css style into style="" attribute.

You should add style="position:absolute;"

to the

<DIV id=nav_bar_main>

So, you'll have:

<DIV id=nav_bar_main style="position:absolute;">





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. creador de sitios web | criar sites gratis | best web design software | top website builder | CSS Slideshow