(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:
Mobile Page Layouts Overview Bootstrap Site Themes Review  |  Mobile-friendly Page Maker  |  Responsive Website Maker  |  Responsive Site Theme  |  Mobile-friendly Web Page Themes Review  | 
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 Maker | Website Generator AI