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


 

    Droppping part is not right under the cross browser drop down menu?

Return to Recent Questions


Q: Why is it that when we place a drop menu ina div that the droppping part is not right uner the menu? The menu on top banner is the problem.. The same code outside of a div futher down the page works fine.

  I can place the same menu outside of the div and it works fine. When it is in a div the drop part of the menu is pushed to the far right of the screen.

A: Brian, 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;">






Return to Recent Questions

Related:
Best Website Builder for podcasts and affiliate marketing Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs  |  Best Website Builder for Education, Software Companies, Designers, Videos  |  Website Builder for Churches, Authors, Consultants, Magazines  |  Website Builder for Beginners, Bloggers, Writers, IT Companies  |  Website Builder for Online Stores, Restaurants, Musicians, Real Estate  | 
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 | Best AI Website Builder | Free AI Website Builder | AI Website Generator | AI web design generator