(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    Sub-menus appear away for the menu/ dhtml navigation bar.

Return to Recent Questions


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

Bootstrap Icons Button Bootstrap Collapse Toggle  |  Bootstrap Carousel Example  |  Bootstrap Input Validation  |  Bootstrap Modal Position  |  Bootstrap Popover Button  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. website maker | Free Bootstrap Template | mobiriseextensions.com | best web design software | bootstrap modal popup