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:50
Vertical alignment of images in menu items
Poster: JMM
Dated: Wednesday December 31 2003 - 15:47:37 GMT
How do you vertically images in menu items?
My menu items are declared like so:
Code:
aI('image=/inside/images/layout/top_navbar/divider.gif; . . . ');
I've tried the 'align', 'imagealign', and 'valign' properties (in this case with the value of "top") in my style definition, my menu definition, and in menu items, all with no effect -- my images are being vertically aligned to the middle. See http://www.capitalandanimalhospital.com ... /test.html
Poster: kevin3442
Dated: Wednesday December 31 2003 - 17:40:24 GMT
I have never tried it myself, but according to the menu item properties quick ref:
Quote:
imageposition (30) Will change the position of the associated menu item image. Valid values are top or bottom.
The imageposition property can also be used as a style property.
An alternative might be to do it the old-fashioned way... if the image is a gif, you could effectively shift it up or down by adding transparent space to the bottom or top of the image, without adding much to the size of the file.
Hope that helps,
Kevin
Poster: JMM
Dated: Wednesday December 31 2003 - 18:16:40 GMT
Thanks, Kevin, I missed that, but it too has no effect. What's the deal? I tried it in my style definition and in my menu items -- no effect.
Thanks for the suggestion, but I'm really going to need the menu system to do what it's supposed to.