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:02
Center aligned menu below an image?
Poster: ethanc
Dated: Friday December 10 2004 - 4:59:42 GMT
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.
Poster: Ruth
Dated: Friday December 10 2004 - 12:31:49 GMT
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