Text Alignment Query

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Text Alignment Query

Post by fredlongworthhighschool »

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.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Hi Ruth,

Yes, I have tried using one word entries which was my last resort option!
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Ruth wrote:I've tried valign using on/off class and align=middle...
Wouldn't that be valign=middle;?
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Post Reply