Alignment Problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Palooka
Beginner
Beginner
Posts: 7
Joined: Mon Sep 29, 2003 6:54 am

Alignment Problem

Post by Palooka »

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?
Palooka
Beginner
Beginner
Posts: 7
Joined: Mon Sep 29, 2003 6:54 am

Post by Palooka »

Anyone?
Palooka
Beginner
Beginner
Posts: 7
Joined: Mon Sep 29, 2003 6:54 am

Post by Palooka »

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.
Post Reply