(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    How do I add padding around a top item in the javascript menu buttons?

Return to Recent Questions


Q: How do I add padding around a top item in the javascript menu buttons?

A: You should specify itemPadding parameter in "px".
You should add "px" in your style for subitems:

var menuStyles = [
["menuBackColor=#F2F3F2","menuBorderWidth=0","itemSpacing=1","itemPadding=4px","smOrientation=undefined"],
];

Notice also that you can set multiple value for itemPadding parameter,for example:

itemPadding=4px 10px 4px 10px// top right bottom left






Return to Recent Questions

Related:
HTML Page Creator Plugins / Overview Smart Cheap and Easy Web Page Builder Tools | Honest Review  |  Exceptional Drag and Drop Web Maker App - Honest Review  |  Good Responsive Site Maker Program - 2021 Tutorial  |  Fine Open Source Website Maker Software | 2021 Guide  |  Top HTML Site Builder - 2021 Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Best AI Website Builder | Free AI Website Builder | AI Website Maker | AI website design generator