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


 

    When I place down menu css in a CSS div element the submenu's all drop down a couple pixels

Return to Recent Questions


Q: However, when I place it inside a CSS-defined div element (for absolute page placement) the submenu's all drop down a couple hundred pixels.


A: See, 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: absolute" 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 style="POSITION: absolute;"

to the

<div id="menu">

So, you'll have:

<DIV id="menu" style="POSITION: absolute;">
Try that.





Return to Recent Questions

Related:
Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs Website Builder for Churches, Authors, Consultants, Magazines  |  Website Builder for Online Stores, Restaurants, Musicians, Real Estate  |  Best AI Website Builder - Create Website Design with AI  |  Website Builder for Beginners, Bloggers, Writers, IT Companies  |  Best Website Builder for Education, Software Companies, Designers, Videos  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Builder | Website Generator AI | AI web design generator | AI website design generator