Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:09

Alignment Problem


Poster: Palooka
Dated: Monday September 29 2003 - 7:33:28 BST

No matter what I do, I can't seem to position the leftmost submenu flush with the left side of the screen. Although there is no problem positioning the main menu 0 pixels from the left side of the screen, there is always about a two pixel gap between the left side of the screen and the leftmost submenu (example). When I set screenposition to right or center, the leftmost submenu aligns with the parent menu perfectly (example). Any suggestions?


Poster: Palooka
Dated: Monday September 29 2003 - 19:23:32 BST

Anyone?


Poster: Palooka
Dated: Monday September 29 2003 - 19:47:18 BST

I figured out how to fix this problem, myself. If you want a submenu to be flush against the top or left edges of the screen, you must edit the mmenudom.js file. For some reason, there is code in there that sets left to 2 if left is less than 2. In other words, by design, you cannot have a submenu 0 pixels from the left side of the screen, and the same goes for the top. Just search for "left=2" and change it to "left=0" to fix this problem.