Image items offset

3 posts, 1 answers
  1. Danny
    Danny avatar
    35 posts
    Member since:
    May 2012

    Posted 08 Jun 2012 Link to this post

    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. Answer
    Peter
    Admin
    Peter avatar
    6637 posts

    Posted 11 Jun 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Danny
    Danny avatar
    35 posts
    Member since:
    May 2012

    Posted 11 Jun 2012 Link to this post

    This got it:

     

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

     

    Thanks!
Back to Top