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

Image items offset

2 Answers 38 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Danny
Top achievements
Rank 2
Danny asked on 08 Jun 2012, 08:42 PM
Hello,

I've got an image offset in the RadMenu- it seems by just by a pixel or two.  The "Feedback" button is just a pixel higher than the help button.  The "Admin" button is just higher than the rest of the buttons.  (Admin and Feedback are the first buttons on two different RadMenu groups).

I've triple checked the source images, and it's not in there.  I've also swapped out images and it always appears on the first RadMenu item. 

It started when I added a custom skin based off of Metro.

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 11 Jun 2012, 07:55 AM
Hi Danny,

You can try to correct the problem with the following css:
div.RadMenu .rmLast .rmLink .rmLeftImage
      {
          margin-top: -2px;   
      }
       
       div.RadMenu .rmFirst .rmLink .rmLeftImage
      {
          margin-top: 2px;   
      }


Kind regards,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Danny
Top achievements
Rank 2
answered on 11 Jun 2012, 02:36 PM
This got it:

 

div.RadMenu .rmFirst .rmLink .rmLeftImage
   {
       margin-top: 1px;    
   }

 

Thanks!
Tags
Menu
Asked by
Danny
Top achievements
Rank 2
Answers by
Peter
Telerik team
Danny
Top achievements
Rank 2
Share this question
or