RadMenuItem Image Position Question

2 posts, 0 answers
  1. Brian Flynn
    Brian Flynn avatar
    2 posts
    Member since:
    Jul 2009

    Posted 11 Jan 2011 Link to this post

    Forgive me if I've overlooked the answer to this problem, but I've searched the forums and couldn't find an easy way to accomplish this. I'm looking to use an Image for a RadMenuItem control, but I want it to display on the right hand side of the text, not the left. There is no ImagePosition attribute supported for the RadMenuItem control. 

    I can switch the RadMenu "Dir" property to "rtl" and that renders it exactly like I need it to be rendered, except for the menu then renders right to left which won't work. Is there any way to accomplish this? 
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 12 Jan 2011 Link to this post

    Hello,


    Add the followinf css on page to right align the image in RadMenuItem.

    CSS:
    <style type="text/css">
        .rmLeftImage
        {
            float: right !important ;
            margin-right: 10px !important;
        }
    </style>




    Thanks,
    Princy.
Back to Top