We are providing HierMenus to you at no cost. HierMenus code requires a confirmed membership with internet.com. Please register by clicking here and come back soon to download your free copy of HeirMenus code.
Click Here to Register

Site Navigation
Bulletins
About
Documentation
FAQ
Samples
Known Issues
Technology Jobs

internet.commerce

Partner With Us














          
internet.com

IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 
HierMenusCentral Enhance the Functionality of Your Web Site with DHTML HierMenus.
    

home / issues / issue #14

Issue:Variable width menus with word wrapping are forced to maximum width
Browser:Netscape 6.0x/Safari
Platform:Windows/Mac OS X
Description:Items in variable width menus that are word-wrapped (because the length of the supplied text is longer than the maximum width of the menu) will be set to the menu's maximum width; and naturally if the item in question is part of a vertical menu, then the vertical menu itself will be adjusted to the maximum width.
Cause:After wrapping the text in the menu item cell, Safari continues to report the full width of the item as the width of the menu item cell itself; as opposed to other browsers which report the width of the actual text in the item. Therefore, HM has no way to know what the actual width of the text within the item is, and assumes the maximum width of the menu should be applied.
Comments:Typically only a minor annoyance; as the menu does not expand beyond its maximum width and the line wrapping often occurs close to the widest edge of the menu, anyway. One way to work around the problem that might work for you is to intentionally break the line using a <br /> tag at the point where you want the text to break. Unfortunately this will cause the menu text to break at exactly that point in all browsers, regardless of text size; but it may be acceptable to you, anyway.

Other suggestions are requested. Please use this link to send mail if you have any insights and would like to share them:

Safari Variable Width Menus

Posted:January 28, 2004

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/issues/14.html