| 
      Return to Recent Questions Sub-menus appear away for the menu/ dhtml navigation bar. 
 
 Q:
 I have just bought the software and created a first menu.
 
 As you can see the sub-menus appear away for the menu/navigation bar.
 
 This doesn�t happen when I put the code into an .html file without any divs.
 
 Can you suggest what the problem might be here?
 
 
 A:
The problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
 In other words, 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.
 
 Please, try to add your
 css file -> inline css, for example:
 
 You should add <DIV id=nav_bar_main>
 
 to the
 
 style="position:absolute;"
 
 So, you'll have:
 
 <DIV id=nav_bar_main  style="position:absolute;">
 
 Check that.
 
 
 
 
 
 Return to Recent Questions
 
 
 |