Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:32
Vertical alignment..
Poster: helpME
Dated: Wednesday April 30 2003 - 1:05:14 BST
I'm using one of the samples from this page..
http://www.milonic.co.uk/menu/menusampl ... ampleid=25
And i'm wondering if it's possible to align the text in my submenus, to top. Because, when I add an icon, the text is always at the bottom of the menu, and it looks really weird.. thanx~
Poster: kevin3442
Dated: Wednesday May 7 2003 - 0:44:17 BST
Try wrapping an <a> tag around your text then setting the alignment in the <a> tag, like this:
Code:
"<img src=image.gif border=0> <a style='vertical-align:top;'>Menu Text</a>","whatever.html",,,1
You could also try using a percentage (e.g., 50% is middle) rather than 'top'.
Kevin