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

RadMenuItem Image Position Question

1 Answer 106 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Brian Flynn
Top achievements
Rank 1
Brian Flynn asked on 11 Jan 2011, 05:08 PM
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? 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 12 Jan 2011, 12:26 PM
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.
Tags
Menu
Asked by
Brian Flynn
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or