close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

want menu item text to wrap

Thread began 4/21/2009 3:38 pm by jean103450 | Last modified 4/21/2009 4:50 pm by Ray Borduin | 1643 views | 5 replies |

jean103450

want menu item text to wrap

how can i make my menu items wrap?
i want the width of my navigation to be 145 pixels and the text for the navigation is too long, so i want it to automatically wrap. is this possible?
i've tried changing the box width and the padding, but nothing makes the text wrap.
thanks, jean

Sign in to reply to this post

Ray BorduinWebAssist

Look in the menu.css file and remove the references to:

white-space: nowrap;

Sign in to reply to this post

jean103450

text wrapping OK, but...

wrapping OK now, but wasn't seeing the 2nd line of text.
i set the HEIGHT of the box to "auto" in order to show the 2nd line of text. however, that makes the 2nd level boxes taller than the first level and i want them to all line up across (if they're 1-line text items).
now the 2nd level items are taller.
i've tried changing the height to the same height as the first level (16 pixels) and using the "auto" setting, but doesn't fix it. please advise.
thanks, jean

Sign in to reply to this post

Ray BorduinWebAssist

Do you have a sample URL? I will take a look and see if there is an easy solution.

Sign in to reply to this post

jean103450

URL to show wrapping dilemna

menuTest3.php

as you can see, if i tell the height of the box (2nd level nav) to be "auto" so that the wrapped text shows, then the single line text items are no longer only 16 pixels tall. this makes them taller than the main level nav items.
but if i tell the boxes to be 16 pixels tall, then i lose the 2nd line of the wrapped navigation text.

(wrapped text happens under "challenges and solutions")

Sign in to reply to this post

Ray BorduinWebAssist

There isn't going to be anything in our interface that can help you with that problem. If your menu is static you might be able to go in and manually adjust the style of each li to account for the offsets, but there is no way to back-reference a hight when using lists in html and css in this manner automatically.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...