This is a migrated thread and some comments may be shown as answers.

[Solved] Menu Item Width Problem

1 Answer 265 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 15 Apr 2009, 03:01 PM

In vertical mode, there seems to be a space at the end of each menu item when hovering over the item. My code:

 

<

 

telerik:RadMenu ID="mnuSubMain" runat="server" Flow="Vertical" Width="100%"></telerik:RadMenu>

 

 

 

The menu resides inside a <table> with a fixed width of 160px. Here's the screen shot:

<img src="http://www.caldwellweb.com/sshot.gif" alt="">

I've tried adjusting the vertical css with an override and testing with different widths and parent containers.

Any help would be great. Thanks.

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 20 Apr 2009, 07:37 AM
Hello Chris,

Very strange issue, indeed! It seems that it has to do something with the table - we'll look into the problem.

Until it is fixed, you can use one of the following work-arounds:
  • set a pixel width of the menu, e.g.
    <telerik:RadMenu ID="RadMenu1" runat="server" Flow="Vertical" Width="160px">
  • add the following CSS to the page:
    <style type="text/css">
        .rmRootGroup > .rmItem > .rmLink { width: auto !important; }
    </style>

Your Telerik points have been updated.

All the best,
Alex
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Menu
Asked by
Chris
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or