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