|
home / documentation / reference / menupaddingright
MenuPaddingRight
- Description:
- The distance, in pixels, between the menu's right border and the
right edge of its last menu item.
- Value:
- Integer, or JavaScript expression that returns an integer.
Negative values are not allowed.
- Applies To:
- Menus.
- Browser Compatibility:
- MenuPaddingRight is not supported in Netscape 4.x.
- Comments:
- You must always specify MenuPaddingRight as an integer, or a
JavaScript expression that returns an integer. Do not use quoted strings or
non-numerical characters when defining MenuPaddingRight.
MenuPaddingRight is always interpreted by HM as pixels.

The color that is displayed in the MenuPadding is controlled via
MenuBGColor. If MenuBGColor is left null, then
the MenuPadding assumes the default color as specified in the
page or style sheet settings for the menu elements (usually transparent).
- Examples:
// Ok:
MenuPaddingRight:5,
MenuPaddingRight:0,
MenuPaddingRight:(HM_NS4)?3:2, // 3 if NS4, 2 otherwise
// Incorrect:
MenuPaddingRight:3.8,
MenuPaddingRight:-3,
MenuPaddingRight:"2", // quotes not allowed
MenuPaddingRight:"(HM_NS4)?3:2",
// no quoted expressions
- Default:
- 0
- See Also:
-
MenuBGColor,
MenuPaddingTop,
MenuPaddingBottom,
MenuPaddingLeft
|