When I roll my mouse over my cool java menu, it appears halfway down the page
Return to Recent Questions
Q:
When I roll my mouse over my menu, it appears halfway down the page, not next to the 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
|