(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:
Bootstrap Grid Tutorial Bootstrap Checkbox Label  |  Bootstrap Image Gallery  |  Bootstrap Columns Mobile  |  Bootstrap Accordion Table  |  Bootstrap Menu Responsive  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Best AI Website Builder | Free AI Website Builder | AI Website Generator | AI Website Builder