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, ...IE8 submenu problemIE8 submenu problem
Previous
 
Next
New Post
12/30/2010 2:01 PM
 
Hi folks,
first of all I have to say that DNN is the best CMS I've ever used. I'm currently implementing my first skin and now facing a problem I'm unable to solve.

I use a horizontal menu style with submenus. In Opera, Firefox or IE7 it renders very well, but in IE8, there's a huge gap between the menu itself and its submenus. I identified the submenus get placed by a javascript which calculates values for top and left, however, in IE8, the value for top is horribly wrong (1500pixels and more instead of about 150 pixels).

Relevant ascx:
<div class="menuframe">
    <dnn:NAV id="dnnNAV" runat="server" controlorientation="Horizontal" csscontrol="mainMenu" indicatechildren="false" providername="DNNMenuNavigationProvider">
          <customattributes>
                 <dnn:CustomAttribute Name="RenderMode" Value="UnorderedList"/>
             </customattributes>
           </dnn:NAV>
  </div>
Relevant CSS:

menuframe {
 font: normal 16px Arial, Helvetica, sans-serif;
 background: url('images/menu_bg.png') repeat-x;
}
.mainMenu {
 margin: 0;
 padding: 0;
}
.mainMenu .root.mi a span {
 display: table-cell !important;
 vertical-align: middle;
 height: 40px;
 padding: 0 4px 0 4px;
}

.menuframe ul li a {
 color: #3c3c3c;
 text-decoration: none;
 
}
.menuframe .m span {
 height: auto;
 padding: 2px;
}

.menuframe .m {
 background-color: #f6a800;
}

.menuframe .m li {
 padding: 0 4px 2px 4px;
}

/* menu container css */
.mainMenu                       {font-family: Verdana, Arial, Helvetica, sans-serif; cursor: pointer; font-size: 15px; /*height: 40px;*/}
/* root menu css */
.mainMenu .root                 {text-align: center; color: #1c1c1c; /*height: 40px;*/}

/* general submenu css */
.mainMenu .m                    {width: 160px; font-size: 11px; z-index: 1000; line-height: 2em;}
.mainMenu .m .mi                {background-color: #f6a800;}
.mainMenu .m .icn               {padding-left: 5px; width: 20px;}
.mainMenu .m .mi .txt           {color: #1c1c1c; margin-right: 5px;}  /* change * to .txt with latest webcontrols */
.mainMenu .m .sel a, .mainMenu .sel a {
 color:#c2c2c2;
}

.mainMenu .m .hov a span {
 color:#fff;
}

.m .break .icn                  {font-size: 1px; height: 1px; } /*ensure that all menu breaks are only 1px high */

 and

.menuframe .hov a span, .menuframe .m .hov {
 background: url('../images/blue/menu_bg_blue_hov.png') repeat-x left top;
 color: #FFF;
}

.mainMenu .hov span, .mainMenu .bc span {background: url(../images/blue/menu_bg_blue_hov.png) repeat-x top left; color:#c2c2c2;}
.mainMenu .m .sel, .mainMenu .m .bc {background: url(../images/blue/menu_bg_blue_hov.png) repeat-x top left; color:#c2c2c2;}
.mainMenu .m .hov, .mainMenu .hov span  {background: url(../images/blue/menu_bg_blue_hov.png) repeat-x top left; color: #fff;}

Thank you in Advance.


Life ist too short for bad quality.
 
New Post
12/30/2010 5:19 PM
 
This could have 2 reasons:
1. You are not using an XHTML doctype for the skin (read how here: http://www.40fingers.net/WeblogsNews/...)
2. you used absolute positioning in your skin above the menu (NAV has some issues with it)
Only solution I know if not to use the absolute positioning.. or use DDR menu
 
New Post
1/3/2011 7:10 AM
 
Thx for the hint. I am quite certain that we use XHTML. I am uncertain about the absolute positioning...
However, the DDR Menu works.
Thank you.

Life ist too short for bad quality.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...IE8 submenu problemIE8 submenu problem


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