close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Wrapping text on Level 0

Thread began 11/11/2009 3:52 pm by Ian | Last modified 11/12/2009 4:33 pm by Ian | 1738 views | 5 replies |

Ian

Wrapping text on Level 0

Hi,

I have created a vertical CSS menu using V2.0 of the extension and have a question.

The menu is dynamic and pulls back Level 0 and its contents from a database. All works brilliantly.

However, sometimes the client enters a menu title in their CMS that is slightly too long for the width of the container for the top level menu item and the text over runs the box.

How can I setup the CSS so that it wraps to a second line within the container?

Thanks
Ian

Sign in to reply to this post

Dani Chankhour

Trying adding some right padding to the A tag.

Sign in to reply to this post

Ian

Thanks for the reply Dani.

I believe I already have that in the CSS. Please see below:

}
ul#cssmw > li > a {
background-color: #ECECEC;
background-image: url("../cssmw_images/img_menu_bg.jpg");
background-repeat: no-repeat;
border-style: none;
border-width: 0px;
color: #000000;
display: block;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: bold;
margin: 0 0 0 0;
padding: 5px 10px 5px 10px;
text-decoration: none;
text-transform: uppercase;
width: 140px;

}

If you want to see the offending page, I can email you the link, but as its a site in development I can't post a public link due to a confidentiality agreement with the client.

Best Regards,
Ian

Sign in to reply to this post

Dani Chankhour

OK, if you look in menu.css file, you should find a line that reads:

white-space:nowrap;


try removing that line from the css.

However, you might need to increase the height of the menu to account for the second line.

I would recommend that you increase the width of the menu to account for the extra text instead of overlapping to a new line.

Sign in to reply to this post

Ian

Thanks Dani, I will try that.

Increasing the width is not an option. As I mentioned, its a vertical menu and there is significant content on the right hand side.

Best Regards,
Ian

Sign in to reply to this post

Ian

Worked a treat that!

Thank you!

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...