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


 

    ..the javascript menu div width will expand past it's boundaries instead of wrapping the text..

Return to Recent Questions


Q: Am I under the correct assumption that if the inner menu item text expands past the ItemWidth or MenuWidth (being that the Width is set -- eg 150px), that the javascript menu div width will expand past it's boundaries instead of wrapping the text? (eg. A text like "Please Make this Wrap instead of expand the width boundary" seems to expand the container's width rather than wrap)

A: There are 2 ways to do that:

1. set

var noWrap=0;

2. use <br> tags, for example:

var menuItems = [
["line 1<br>line 2"],
];






Return to Recent Questions

Related:
Website Builder For Kids & Musicians Landing Page Maker - Landing Page Maker  |  Whitelabel Website Builder - HTML Code Generator  |  Website Design Tool - Website Development Software  |  No Coding Website Builder - Easiest Website Builder  |  Photographer & Artist Website Builder  | 
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 | Free AI Website Builder | AI Website Builder | Website Generator AI | AI web design generator