centering images in radmenu

2 posts, 0 answers
  1. Ajay Gandhi
    Ajay Gandhi avatar
    15 posts
    Member since:
    Mar 2010

    Posted 26 Mar 2010 Link to this post

    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.

     

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 29 Mar 2010 Link to this post

    Hello,

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

    CSS:

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

    -Shinu.

Back to Top