|
I'm trying to position my html menu code inside absolutely positioned DIV.
Return to Recent Questions
Q:
I'm trying to position my html menu code inside absolutely positioned <DIV> tags. If
the <DIV> tag has style="position:absolute; top:100px; left:50px;" in the
actual tag, html menu code seems to work correctly submenus have a 100px offset in the y direction and
a 50 pixel offset in the x direction. This is with no change to the .js data
file (I have absolutePos=0;).
Is this a known issue, and is it planned to be fixed soon?
A:
Problem is that the html menu code 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; top:100px; left:50px;"). To get the value you should move .css style into style="" attribute.
You should add style="position:absolute; top:100px; left:50px;"
to the
<DIV class=department-menu>
So, you'll have:
<DIV class=department-menu style="position:absolute; top:100px; left:50px;;">
Return to Recent Questions
Related:
- May 10, 2009 - Since I installed the drop down menu horizontal on our website the homepage start loads slowly...
- May 23, 2009 - I can see only the code generated by the GUI tool.How should I install simple html menu?
- May 25, 2009 - How can I setup size and color of the font for individual button in the menus navigation?
- Jun 27, 2009 - Does this drop down menu in html need Java Virtual Machine installed on the computer?
- Jul 02, 2009 - Is it possible to install my web menu creator on the page made with Yahoo sitebuilder
- Jul 12, 2009 - Is it possible to set target attribute individually for the drop down menus javascript items?
- Jul 17, 2009 - Can I install and run this java rollover on a server running OS X?
- Oct 01, 2009 - When I place css vertical drop down menu in a CSS div element the submenu's all drop down a couple pixels
- Oct 10, 2009 - Is there a way to install popup menu right click correctly if we use nested frames?
- Oct 14, 2009 - Do I have to buy a license for each website I install this horizontal menu using
- Nov 20, 2009 - I have some problems with installation of the java popup menu...
|