Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Alignment issue in main MenuAlignment issue in main Menu
Previous
 
Next
New Post
2/2/2007 10:52 AM
 
I want the text in my mainmenu to be aligned (from top to bottom) in the middle of the color bar (like forums::Dotnetnuke is aligned above)

what is missing in my code here?


/* Start Menu
The code below is used for the Sol Part Navigation menu
to define the various aspects of the menu.
*/

.MainMenu_MenuContainer {
    background-color: transparent;
    height:29px;
    background:url(images/mainmenu_bg.gif);
    background-repeat:repeat-x;
   
}

#Finance .MainMenu_MenuContainer





.MainMenu_MenuBar {
    cursor: pointer;
    cursor: hand;
}
.MainMenu_MenuItem {
    border-left: #cccccc 0px solid;
    border-bottom: #cccccc 1px solid;
    border-top: #cccccc 1px solid;
    border-right: #cccccc 0px solid;
    cursor: pointer;
    cursor: hand;
    color: #000000;
    font-size: 10pt;
    font-weight:normal;
    font-style: normal;
    background-color:transparent;
       
    font-family: arial,verdana, sans-Serif;
   
}
.MainMenu_MenuIcon {
    background-color: #cccccc;
    border-left: #cccccc 1px solid;
    border-bottom: #cccccc 1px solid;
    border-top: #cccccc 1px solid;
    cursor: pointer;
    cursor: hand;
    text-align: center;
    width: 15px;
    height: 21px;
   
}
.MainMenu_SubMenu {
    background-color: #cccccc; 
    z-index: 1000;
    cursor: pointer;
    cursor: hand;
    filter:progid:DXImageTransform.Microsoft.Shadow(color='#696969', Direction=135, Strength=3);
}
.MainMenu_MenuBreak {
    border-bottom: #EEEEEE 0px solid;
    border-left: #EEEEEE 0px solid;
    border-top: #EEEEEE 0px solid;
    border-right: #EEEEEE 0px solid;
    background-color:transparent;
    height: 1px;
}
.MainMenu_MenuItemSel {
    background-color: #000000;
        border-left: #ffffff 0px solid;
    border-top: #ffffff 0px solid;
        border-bottom: #ffffff 0px solid;
    cursor: pointer;
    cursor: hand;
    color: #ffffff;
    font-size: 10pt;
    font-weight:bold;
    font-style: normal;
   
    height: 21px;
    font-family:  arial, verdana, sans-Serif;
}

.MainMenu_RootMenuItem {
     background-color:transparent;
    cursor: pointer;
    cursor: hand;
    color: white;
    font-size: 9pt;
    /*font-weight: normal; */
    font-style: normal;
    height: 29px;
    padding-top:8px;
    background-repeat:repeat-x;
       
    font-family:  arial,verdana sans-Serif;
}

.MainMenu_RootMenuItemSel {
    background-color:transparent;
    cursor: pointer;
    cursor: hand;
    color: white;
    font-size: 10pt;
    /*font-weight: normal; */
    font-style: normal;
    height: 29px;
    background:url(images/mainmenu_bg_sel.gif);
    background-repeat:repeat-x;
      
    font-family: arial,verdana sans-Serif;
}
.MainMenu_MenuArrow {
    border-right: #ffffff 1px solid;
    border-bottom: #cccccc 1px solid;
    border-top: #cccccc 0px solid;
    font-family: webdings;
    font-size: 10pt;
    cursor: pointer;
    cursor: hand;
}
.MainMenu_RootMenuArrow {
    font-family: webdings;
    font-size: 10pt;
    cursor: pointer;
    cursor: hand;
}
.MainMenu_SeperatorCSS
{
   
    background:transparent;
    color:#ffffff;
    height:29px
}/*End Menu */

THANK YOU
 
New Post
2/3/2007 7:20 AM
 

I'm not going to repeat all your code above, but you could change this:

height: 29px;
padding-top:8px;

To this:

height: 29px;
line-height: 29px;

on .MainMenu_RootMenuItem and .MainMenu_RootMenuItemSel

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Alignment issue in main MenuAlignment issue in main Menu


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out