Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:28

Text Alignment Query


Poster: fredlongworthhighschool
Dated: Tuesday May 18 2004 - 8:31:40 BST

I have a menu designed like so:

Image

I use a <BR> command to split the text into two lines where necessary. But this means the single word entries, such as 'Home' and 'Faculties' aren't centred in the boxes and look a little odd.

Is there a tag I can use to align them? The menu is just a bog standard horizontal one.


Poster: Ruth
Dated: Tuesday May 18 2004 - 9:53:05 BST

I've tried valign using on/off class and align=middle, but I've never been able to do it. Just as a suggestion for thought, have you considered removing the word 'area' which would put most of that on one line, and probably allow you to write Photos & More on one line, then move the About Freddies to the end? Even if About Freddies wrapped it wouldn't look bad because all the other lines would be one word across the top?

Ruth


Poster: fredlongworthhighschool
Dated: Tuesday May 18 2004 - 10:36:45 BST

Hi Ruth,

Yes, I have tried using one word entries which was my last resort option!


Poster: John
Dated: Tuesday May 18 2004 - 14:30:15 BST

Ruth wrote:
I've tried valign using on/off class and align=middle...

Wouldn't that be valign=middle;?


Poster: Ruth
Dated: Tuesday May 18 2004 - 21:53:36 BST

yes, it is valign="middle" but when that didn't do anything I figured what the heck and tried align=middle, too.

I messed with your pictured menu and put a linebreak before the single word entries with text align center for all the items. The result looks pretty good, at least to me. It places the single words on the bottom line and all the arrows seem to line up evenly across. Just another layout to consider.

Ruth