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

centering images in radmenu

1 Answer 68 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Ajay Gandhi
Top achievements
Rank 1
Ajay Gandhi asked on 26 Mar 2010, 09:45 PM
I have populated the radmenu using the xml file. Below is the snapshot of it:

<?

 

xml version="1.0" encoding="utf-8" ?>

 

<

 

Menu>

 

<

 

Group>

 

<

 

Item Text="Administrator" ImageUrl="../Images/admin.png" >

 

<

 

Group>

 

<

 

Item Text="Manage Users" Href="../Pages/UserGroup.aspx" ImageUrl="../Images/user.gif" />

 

<

 

Item Text="Manage Release/Project" Href="../Pages/Releases.aspx" ImageUrl="../Images/ht.gif" />

 

<

 

Item IsSeparator="True" />

 

<

 

Item Text="RVP" Href="../Pages/RVP.aspx" ImageUrl="../Images/report.png" />

 

</

 

Group>

 

</

 

Item>
....

Menu loads up fine, but the images are not cenetered. Is there a way to center the images in the menu?

Thank you.

 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Mar 2010, 12:27 PM

Hello,

Try adding the following CSS on page and see whether it helps.

CSS:

 
    <style type="text/css">  
        .RadMenu .rmLeftImage  
        {  
            floatnone !important;  
        }  
    </style> 

-Shinu.

Tags
Menu
Asked by
Ajay Gandhi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or