Bonjour à tous
J'aimerai savoir comment centrer mon SOLPARTMENU dans mon skin DNN ?
Mon HTML:
<div class="menu_h"><div class="menu_h1">[SOLPARTMENU]</div></div>*
Mon CSS:
/* Menu Horizontal */
.menu_h {background-image: url('fond_menu.JPG');background-repeat: no-repeat;background-position: center bottom;float: left;height: 27px;width: 800px;}
.menu_h1{font: 11px Tahoma;color: #676666;}
/* Gestion du SOLPARTMENU */
.MainMenu_MenuContainer {background-color: transparent;}
.MainMenu_MenuContainer td{}
.MainMenu_MenuIcon{}
.MainMenu_RootMenuArrow{}
.MainMenu_MenuBreak{}
.MainMenu_MenuArrow{}
.rootmenuitem{}
.rootmenuitem td{}
.rootmenuitem td span{}
.rootmenuitembreadcrumb{}
.rootmenuitembreadcrumb td{}
.rootmenuitembreadcrumb td span{}
.rootmenuitemselected{}
.MainMenu_MenuItem{font: 12px Tahoma;color: #676666;text-align:center;}
.MainMenu_MenuItem td{}
.submenuitembreadcrumb{}
.submenuitemselected {}
.submenu {}
.MainMenu_MenuBar{}
.MainMenu_MenuItem{color: #676666; font-family: Tahoma; font-size: 12px; font-weight:normal; font-style: normal;}
.MainMenu_SubMenu{border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid;}
.MainMenu_MenuItemSel{color: #676666; font-family: Tahoma; font-size: 12px; font-weight:normal; font-style: normal;}
.MainMenu_RootMenuArrow{}
.MainMenu_RootMenuItemBreadcrumb{}
.MainMenu_SubMenuItemBreadcrumb{}
.MainMenu_RootMenuItem{}
.MainMenu_RootMenuItemActive{}
.MainMenu_SubMenuItemActive{}
.MainMenu_RootMenuItemSelected{}
.MainMenu_SubMenuItemSelected{}
MON XML:
Pas de déclaration SOLPARTMENU dans le XML
J'ai tenté un tas de trucs du genre: align, position, margin, left, etc etc, mais rien ne permet de centrer automatiquement le menu horizontalement selon le nombre d'items du menu !!!
Merci de votre aide
A bientôt
Bye