(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    Why the menus in javascript alignment changes depending on the browser window size?

Return to Recent Questions


Q: Do you know why the sub-menu alignment changes depending on the browser window size?

However I was able to fix the issue with menus in javascript now showing up in IE at all, it turns out I forgot a </script> tag. A: This menus in javascript can't get css properties of the object if they are situated 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.

You should add style="position:absolute;"

to the

<DIV id=navholder>

So, you'll have:

<DIV id=navholder style="position:absolute;">





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. free bootstrap templates | website builder review | Mobirise Themes | HTML5 Video | bootstrap image slider