Keep menu text from wrapping

Tips submitted by ASP.NET Maker users

Keep menu text from wrapping

Postby pel » Mon Apr 05, 2010 9:36 pm

If you're using a vertical menu column and want to keep the menu column from getting squeezed (so the menu text wraps to the next line), you can change the style sheet entry for the menu column to something like:

.ewMenuColumn {
background-color: #F1F1F1; /* background color */
width: 20%;
white-space: nowrap;
vertical-align: top;
padding: 2px;

Return to User Submited Tips (ASP.NET Maker)