SOLPARTMENU alignment issue
Last Post 03/12/2009 12:07 PM by Lee Sykes. 3 Replies.
Author Messages
Aggiedan97
Nuke Master
Nuke Master
Posts:162


--
02/28/2009 7:09 AM

    I'm having an issue with aligning the top level of a vertically oriented solpartmenu.
    The desired output is a right aligned menu.  The below presents right aligned sub-menus, but the top-level presents a left aligned text that is indented until the furthermost right text character reaches the right side.  so the longest word sets how far right the entire menu is indented (see attached).

    Any help with fixing this alignment issue would be greatly apprecaited.


    In the skin, the solpartmenu is nested as such: (greater than and less than have been replaced with "*")

    *table width="100%"  border="0" cellpadding="0" cellspacing="0" align="right"*
         *tr*
        *td align="right" valign="middle" width="100%">[SOLPARTMENU]*/td*
       */tr*
    */table*

    The CSS for this menu is as follows: (the .xxxx has been replaced with "_" as to hopefully prevent interferring with forum page rendering)
    /* Main Menu */

    _MainMenu_MenuContainer {
     background-color: Transparent;
     font-size: 8pt;
     font-weight: bold;
     font-style: normal;
     color: #7E5946;
     height: 30px;
    }

    _MainMenu_MenuBar {
     background-color: Transparent;
     cursor: pointer;
     cursor: hand;
     height: 30px;
     width: 167px;

    }

    _MainMenu_MenuItem {
     background-color: #092D6F;
     cursor: pointer;
     cursor: hand;
     color: #ffffff;
     font-family: Arial, Tahoma, Helvetica;
     font-size: 10pt;
     font-weight: bold;
     font-style: normal;
     border-left: #847D7B 0px solid;
     border-bottom: #847D7B 1px solid;
     border-top: #847D7B 1px solid;
     border-right: #847D7B 0px solid;
     height: 26px;
     text-align: right;
    }

    .MainMenu_MenuIcon {
    display:none
    }

    _MainMenu_SubMenu {
     background-color: #092D6F;
     z-index: 1000;
     cursor: pointer;
     cursor: hand;
     color: #FFFFFF
    }

    _MainMenu_MenuBreak {
    display:none
    }

    _MainMenu_MenuItemSel {
     background-color: Transparent;
     cursor: pointer;
     cursor: hand;
     color: #FFFFFF;
     font-family: Arial, Tahoma, Helvetica;
     font-size: 10pt;
     font-weight: bold;
     font-style: normal;
     height: 26px;
    }

    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    03/10/2009 4:59 PM
    Hello,

    Did you solve this problem? If not do you have this on a live site, it can be easier to troubleshoot code when editing CSS live with the web developer toolbar, thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Aggiedan97
    Nuke Master
    Nuke Master
    Posts:162


    --
    03/11/2009 10:44 AM
    Yep - no worries. Joe turned me on to snapsis.com CSS menu and it did the trick. I don't know why the regular menu wouldn't work, but I made the CSS menu work great.

    I was able to do some nice work with a png faded gradient from light blue to transparent. This was replicating a mouseover feature in the legacy site where there are two images for every menu item. I find this to be typical of many projects/products. However, with a 30k png file it gives the same mouseover highlight and runs really quick and lightweight. I set this file as the background image in the hover properties.

    I really appreciate the follow-up. - Thanks
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    03/12/2009 12:07 PM
    great, yes snapsis is one of the top menus and very SEO friendly ;-)
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile


    ---