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, ...SolPart Menu unwanted selected item borderSolPart Menu unwanted selected item border
Previous
 
Next
New Post
5/21/2006 9:37 PM
 

Oh, yes...tried lots of stuff.

Of course, that's not to say there might not be something obvious that I'm missing.  I've done lots of custom DNN skinning but usually I either static code a custom menu, or use one of the menu modules.  This just seems like something so simple that the solpart menu should be able to do it. Plus, it's working in Netscape and Firefox.

I've got a horizontal menu layout and the code you pasted in there applies, on the horizontal layout, to the separators between categories at the root.

I tend to think that, when I'm using an image as the background like I'm doing, perhaps IE has trouble rendering the borders between the submenu items.  I get that feeling because it's easy to make this work when I don't us an image as the background, and because I'm not finding any examples of solpartmenu in usage with an image background used in this way.

Here's the css code I'm using:

.MainMenu_MenuContainer {
 width:100%; 
 background: url(/portals/9/spacer.gif);
 height: 24px;
}
.MainMenu_MenuBar {
 cursor: hand;
 background-color: Transparent;
}
.MainMenu_MenuItem {
 color: black;
 cursor: hand;  
 font: lighter 10px Verdana;
 background-color: transparent;
 BORDER: #FFFFFF 0px solid;  
}
.MainMenu_MenuIcon {
 BORDER-RIGHT: #F2F3F5 0px solid;
 BORDER-TOP: #F2F3F5 0px solid;
 BORDER-LEFT: #F2F3F5 1px solid;
 BORDER-BOTTOM: #F2F3F5 0px solid;
 background: url(/portals/9/skins/KJSKIN/submenubg.gif);
 cursor: hand;
 text-align: center;
 width: 5px;
 height: 24px;
}
.MainMenu_SubMenu { 
 z-index: 1000;
 cursor: hand;  
 font: lighter 10px Verdana;
 background: url(/portals/9/skins/KJSKIN/submenubg.gif);
 BORDER-RIGHT: #C6C5C5 1px solid;
 BORDER-TOP: #E1E0E0 1px solid;
 BORDER-LEFT: #E1E0E0 1px solid;
 BORDER-BOTTOM: #C6C5C5 1px solid;
}
.MainMenu_MenuBreak {
 height: 1px;
 BORDER-TOP: #F2F3F5 0px solid;
 BORDER-BOTTOM: #F2F3F5 0px solid;
 background-color: transparent;
}
.MainMenu_MenuItemSel {
 color: black;
 background-color: transparent;
 cursor: hand;  
 font: lighter 10px Verdana;
 BORDER: #FFF 0px solid;
}
.MainMenu_MenuArrow {
 border-right: #F2F3F5 1px solid;
 border-bottom: #F2F3F5 0px solid;
 border-top: #A2A3A3 0px solid;
 font: lighter 10px Verdana;
 cursor: hand;  
 padding-left: 10px;
}
.MainMenu_RootMenuArrow {
 font-family: lighter 10pt webdings;
 cursor: hand;
 padding-left: 5px;
}
.MM_Sel {
 color: purple;
 background: url(/portals/9/skins/KJSKIN/submenubg.gif);
 height: 24px;
}
.MM_Sub {
 color: black;
 height: 24px;
 font-weight:bold;
}

Here's the skin object with its attributes:

<dnn:MENU runat="server" id="dnnMENU" rootmenuitemactivecssclass="MM_Sel" submenuitemactivecssclass="MM_Sub" menualignment="center" Separator="<img src=&quot;separator.gif&quot; border=0 />" />



Shane Miller
Call Centers 24x7
 
New Post
5/22/2006 4:06 AM
 

This is some kind of pixel issue in IE. I see you're using a background = transparent for the MenuItem class, if you make the background color the same as the background of the menu or submenu, than it will likely go away.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
5/22/2006 10:41 AM
 

Peter,

Thanks for the suggestion.  I had tried that, but just went and tried it again and it doesn't solve the problem.  Actually it just makes the menu look worse because the textured backgrounds don't tile smoothly.



Shane Miller
Call Centers 24x7
 
New Post
5/22/2006 10:47 AM
 

You have this:

.MainMenu_SubMenu { 
 z-index: 1000;
 cursor: hand;  
 font: lighter 10px Verdana;
 background: url(/portals/9/skins/KJSKIN/submenubg.gif);
 BORDER-RIGHT: #C6C5C5 1px solid;
 BORDER-TOP: #E1E0E0 1px solid;
 BORDER-LEFT: #E1E0E0 1px solid;
 BORDER-BOTTOM: #C6C5C5 1px solid;

And at the very least, the highlited ones should be:

 BORDER-TOP: #E1E0E0 0px solid; 
 BORDER-BOTTOM: #C6C5C5 0px solid;

 


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
5/22/2006 10:52 AM
 

Hi,

Thanks for the suggestion.  However, that just controls the border around the entire submenu itself.  Making that change causes the top and bottom of the entire submenu to disappear but the borders in IE around the individual submenu items are unaffected.

Shane



Shane Miller
Call Centers 24x7
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...SolPart Menu unwanted selected item borderSolPart Menu unwanted selected item border


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