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, ...Skin submenus not aligning in Safari on Mac...  CSS issueSkin submenus not aligning in Safari on Mac... CSS issue
Previous
 
Next
New Post
9/29/2008 12:58 PM
 

Please can someone help. I've spent hours on this. My skin works great on PC and Mac Firefox but in Safari, the submenus (dropdowns) are all off to the left and not below the item being moused-over. My page content is centered, so if I resize my browser window, so that the page aligns left then the menus are perfect. But they do not follow the page when it is resized. This issue is ONLY in Safari.

Here is my stripped down very simple skin :

<div class="skinwrapper" align="center">

<div class="skinmenu">
                <dnn:SOLPARTMENU
            runat="server"
            id="dnnSOLPARTMENU"
            usearrows="false"
            userootbreadcrumbarrow="false"
            usesubmenubreadcrumbarrow="false"
            rootmenuitemlefthtml="&lt;span&gt;"
            rootmenuitemrighthtml="&lt;/span&gt;"
            rootmenuitemcssclass="rootmenuitem"
            rootmenuitemselectedcssclass="rootmenuitemselected"
            rootmenuitembreadcrumbcssclass="rootmenuitembreadcrumb"
            submenucssclass="submenu"
            submenuitemselectedcssclass="submenuitemselected"
            submenuitembreadcrumbcssclass="submenuitembreadcrumb"
            CSSNodeSelectedRoot="rootmenuitembreadcrumb"
            CSSNodeSelectedSub="submenuitembreadcrumb"
            delaysubmenuload="true"
        />
</div>
</div>

AND CSS :

/*page*/
html,body{
    height:100%;
    background-image: url(leopard_back.jpg);
    width: 950px;
    text-align: center;
    margin:0 auto;
}
.skinwrapper{
    padding:1px;
    width:950px;
}

/*menu*/
.MainMenu_MenuContainer{background:url(media/silver_separator.gif) 100% repeat-y transparent;}
.MainMenu_MenuContainer td{cursor:default;font-size:3px;}
.MainMenu_MenuIcon{display:none;}
.MainMenu_RootMenuArrow{display:none;}
.MainMenu_MenuItem{font-family:Verdana, Arial, Helvetica, sans-serif;color:#FFF;font-size:12px;font-weight:normal;}
.submenuitembreadcrumb{
    font-family:Verdana, Arial, Helvetica, sans-serif;
    color:#333333;
    font-size:12px;
    font-weight:normal;
}
.submenuitemselected{
    font-family:Verdana, Arial, Helvetica, sans-serif;
    color:#333333;
    font-size:12px;
    font-weight:normal;
    background:#FFCC00;
}
.MainMenu_MenuArrow{
    font-size:11px;
    padding:2px 0 2px 10px;
    height:24px;
    border-width:1px 1px 1px 0;
}
.submenu{
    z-index:1000;
    border:0;
    padding:0;
    background:#B5840B;
}
.rootmenuitem{background:transparent;}
.rootmenuitem td{
    padding:0 10px 0 9px;
    height:20px;
    cursor:pointer;
    cursor:hand;
    border-right:1px #333333 solid;
}
.rootmenuitem td span{font-family:Verdana, Arial, Helvetica, sans-serif;color:#FFF;font-size:12px;font-weight:bold;}
.rootmenuitembreadcrumb{background:transparent;}
.rootmenuitembreadcrumb td{
    height:20px;
    cursor:pointer;
    cursor:hand;
    border-right:1px #333333 solid;
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 0;
    padding-left: 9px;
}
.rootmenuitembreadcrumb td span{
    font-family:Verdana, Arial, Helvetica, sans-serif;
    color:#FFFFFF;
    font-size:12px;
    font-weight:bold;
}
.rootmenuitemselected{
    background-color: #B5840B;
}
.rootmenuitemselected td{
    padding:0 10px 0 9px;
    height:20px;
    cursor:pointer;
    cursor:hand;
    border-right:1px #333333 solid;
}
.rootmenuitemselected td span{
    font-family:Verdana, Arial, Helvetica, sans-serif;
    color:#000000;
    font-size:12px;
    font-weight:bold;
}
.MainMenu_MenuBreak{display:none;}
.skingoldline {
    background-color: #B5840B;
    text-align: right;
}

 
New Post
10/7/2008 9:55 AM
 

Did you check if you're being overriden by other css files up the hierarchy (default, portal)?

Also I noticed this piece of code - do you check your pages for CSS/XHTML markup validation?

 rootmenuitemlefthtml="&lt;span&gt;"
 rootmenuitemrighthtml="&lt;/span&gt;"
 

My issue is with  the MainMenu_MenuItem - I get the right padding in IE7, but Mozilla FF puts menu items next to one another. Is there some other place that we can specify the spacing between menu items?

.MainMenu_MenuItem {
 padding-right:10px;
 padding-left:5px;
 padding-bottom:0px;
 padding-top:0px;
 text-transform: lowercase;
 font-family:Verdana, Arial, Helvetica, sans-serif;
 font-size:11px;
 font-weight:bold;
 color:#FFFFFF;
}

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin submenus not aligning in Safari on Mac...  CSS issueSkin submenus not aligning in Safari on Mac... CSS issue


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