Do you have any guidance for using a relative font size and normal line height, so wrapped menu item text takes up less vertical space? I have a vertical-oriented menu in a fixed-width column, with as many as 30 top-level items, mostly with long text. The default style either spills the text out past the column border, or if I specify wrapping the text, the menu becomes very long because of the greater-than-normal line height.
I want to use a relative font size of 1 em, so it scales when the user changes the browser's text size. When I over-ride the css as follows, I get the font size and line height, but the images used for highlighting menu items as you move the cursor over the menu no longer line up with the text.
.RadMenu_Default .rmLink
{
/*font: normal 12px/23px "Segoe UI", Arial, sans-serif;*/
color: #000;
line-height:normal !important;
text-decoration: none;
}
The other problem I have with the 23-pixel line height is that when I set the menu item text to wrap to the available space, the menu items become too tall. I would rather assign a margin between line items, and have a normal line height so the wrapped text doesn't take up so much vertical space.
.rmLink
{
white-space: normal;
}
I want to use a relative font size of 1 em, so it scales when the user changes the browser's text size. When I over-ride the css as follows, I get the font size and line height, but the images used for highlighting menu items as you move the cursor over the menu no longer line up with the text.
.RadMenu_Default .rmLink
{
/*font: normal 12px/23px "Segoe UI", Arial, sans-serif;*/
color: #000;
line-height:normal !important;
text-decoration: none;
}
The other problem I have with the 23-pixel line height is that when I set the menu item text to wrap to the available space, the menu items become too tall. I would rather assign a margin between line items, and have a normal line height so the wrapped text doesn't take up so much vertical space.
.rmLink
{
white-space: normal;
}