K
koldskaal
I have a asp.net menu in my project.
I want it to be possible to add menuitems with very long strings. At
the same time I dont want the menu to be wider than 200px. Therefore
the text in long strings must be displayed on multiple lines. This
seems to be something that the creators of the aspnet menu dont like,
because obviously in the HTML that is rendered every menu item has a
style like this:
<td style="white-space:nowrap;width:100%;">
I have tried to add this style to my stylesheet:
.celle
{
white-space:normal;
}
(and setting StaticMenuItemStyle CssClass="celle")
This behaves correctly in Firefox, but in IE7 everything after the
first line is invisible.
Does anyone know how to handle this?
Bjarke
I want it to be possible to add menuitems with very long strings. At
the same time I dont want the menu to be wider than 200px. Therefore
the text in long strings must be displayed on multiple lines. This
seems to be something that the creators of the aspnet menu dont like,
because obviously in the HTML that is rendered every menu item has a
style like this:
<td style="white-space:nowrap;width:100%;">
I have tried to add this style to my stylesheet:
.celle
{
white-space:normal;
}
(and setting StaticMenuItemStyle CssClass="celle")
This behaves correctly in Firefox, but in IE7 everything after the
first line is invisible.
Does anyone know how to handle this?
Bjarke