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 / documentation / reference / itempadding

ItemPadding

Description:
The space, in pixels, between the menu item's content and the edge of the menu item.

Value:
Integer, or JavaScript expression that returns an integer. Negative values are not allowed.

Applies To:
Menu Items.

Browser Compatibility:
ItemPadding is supported in all browsers.

Comments:
You must always specify ItemPadding as an integer, or a JavaScript expression that returns an integer. Do not use quoted strings or non-numerical characters when defining ItemPadding. ItemPadding is always interpreted by HM as pixels.

Item Padding

Examples:
// Ok:
ItemPadding:5,
ItemPadding:0,
ItemPadding:(HM_NS4)?3:2, // 3 if NS4, 2 otherwise

// Incorrect:
ItemPadding:3.8,
ItemPadding:-3,
ItemPadding:"2",            // quotes not allowed
ItemPadding:"(HM_NS4)?3:2", // no quoted expressions
Default:
3

See Also:
MenuPaddingTop, MenuPaddingRight, MenuPaddingBottom, MenuPaddingLeft

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/documentation/reference/itempadding.html