(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 Radio Set Bootstrap Columns Mobile  |  Bootstrap Menu Responsive  |  Bootstrap Sidebar Dropdown  |  Bootstrap Offset Usage  |  Bootstrap Clearfix Style  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. nl | easy website builder | bootstrap modal popup | free website generator | html slider