Center aligned menu below an image?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ethanc
Beginner
Beginner
Posts: 2
Joined: Tue Aug 24, 2004 5:40 pm

Center aligned menu below an image?

Post by ethanc »

I have a horizontal menu set up with images as the main buttons; below each button/image a vertical Milonic menu drops down. By default the menu is aligned to the left edge of each image; what I would like to do is center-align the menu relative to the center of each image. I've tried a few things and the only way I've found to do it is to subtract the image size from the menu size, divide by two, and offset the image by that amount.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

There is a section on methods and functions which talks about positioning.
And, this topic is about using those things Finding the X-coordinate Hope that helps.

Ruth
Post Reply