When I roll my mouse over my css tree menu, it appears halfway down the page
Return to Recent Questions
Q:
When I roll my mouse over my css tree menu, it appears halfway down the page, not next to the css tree menu.
This only happens when I enclose the code in <div></div> layers. Is
there a way to fix this?
A:
It is possible that you have some problems with your css.
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=SiteMenu>
to the
style="position:absolute;"
So, you'll have:
<DIV id=SiteMenu style="position:absolute;">
Check that.
Return to Recent Questions
Related:
- March 23, 2009 - My javascript expandable menu doesn't work on IE6. No rollovers, no drop downs.
- Apr 09, 2009 - My dhtml menu bar disappears on the home page.
- May 11, 2009 - When I add a submenu, it appears separated by about 100px down css menu vertical.
- May 15, 2009 - I can see the down arrows of my drop down menu examples on the main page only, how to fix it?
- Jun 29, 2009 - I want my dhtml menu appears at the top the page with center align. Is it possible?
- Jul 25, 2009 - In IE the submenus of collapse menu are open down the page and go off the bottom of the screen.
- Aug 11, 2009 - I downloaded the trial version, but where I can find the scroll dhtml drag drop?
- Aug 31, 2009 - Is it possible to create a javascript expand that will float when I scroll down the page.
- Oct 07, 2009 - Will the menu in javascript stay in view when the user scrolls down?
- Dec 04, 2009 - Will the menus vertical stay in view when the user scrolls page down?
- Dec 16, 2009 - I'm trying to get a dynamic menus that will float as I scroll down the page.
|