(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 Login forms Layout Bootstrap Button groups active  |  Bootstrap Jumbotron Header  |  Bootstrap Modal Popup Form  |  Bootstrap Layout Jquery  |  Bootstrap Row Grid  | 
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 | AI Website Generator | AI Website Maker | AI Website Generator | AI web page design generator