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, ...DNN Menu Border issueDNN Menu Border issue
Previous
 
Next
New Post
12/12/2010 1:55 AM
 
Hi All,

I am trying to create a menu which has a border around each menu item. I can't get this to work correctly. The border doesn't appear correclty near the right arrow (which has child items). Hope someone can help with this as I need this to work urgently.

The code I used in the skin.ascx is :

<dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" StyleBorderWidth="2" CSSContainerSub="Main_DNNMenu_ContainerSub" CSSNodeRoot="Main_DNNMenu_NodeRoot" CSSNode="Main_DNNMenu_Node" CSSNodeHover="Main_DNNMenu_NodeHover" StyleIconWidth="0" CSSIcon="MainMenu_MenuIcon" CSSIndicateChildSub="MainMenu_IndicateChildSub" CSSRightSeparatorBreadCrumb="MainMenu_MenuArrow" CSSRightSeparator="MainMenu_MenuArrow" ControlAlignment="Center" StyleBackColor="#FFFFFF" CSSIndicateChildRoot="Main_DNNMenu_RootMenuArrow" />


The code in the skin.css:

.Main_DNNMenu_ContainerSub

{

background-color:#EF0043;

z-index: 1000;

cursor: pointer;

cursor: hand;

padding: 1px 1px 1px 1px;

}

.Main_DNNMenu_NodeRoot

{

cursor: pointer;

cursor: hand;

color: White;

font: normal 12px Verdana;

font-weight: normal;

font-style: normal;

background-color: Transparent;

white-space: nowrap;

padding: 0px 20px 0px 10px;

 

}

.Main_DNNMenu_Node

{

cursor: pointer;

cursor: hand;

color: White;

font-size: 10pt;

font-weight: normal;

font-style: normal;

font-family: Tahoma, Arial, Helvetica;

background-color: Transparent;

white-space: nowrap;

padding: 2px 10px 2px 10px;

z-index: 1000;

border-right: solid 1px white;

border-bottom: solid 1px white;

border-top: solid 1px white;

border-left: solid 1px white;

}

.Main_DNNMenu_Node td

{

cursor: pointer;

cursor: hand;

color: White;

font-size: 10pt;

font-weight: normal;

font-style: normal;

font-family: Tahoma, Arial, Helvetica;

background-color: Transparent;

white-space: nowrap;

padding: 2px 10px 2px 10px;

z-index: 1000;

 

 

}

.MainMenu_MenuIcon

{

display: none;

}

.Main_DNNMenu_NodeHover

{

background-color: #685353;

}

.Main_DNNMenu_NodeHover td

{

background-color: #685353;

}

.Main_DNNMenu_RootMenuArrow

{

display: none;

}

.MainMenu_MenuArrow

{

display: none;

 

}

.MainMenu_IndicateChildSub td

{

border-top: #FFFFFF 1px solid;

border-right: #FFFFFF 0px solid;

border-left: #FFFFFF 0px solid;

border-bottom: #FFFFFF 1px solid;

}


Not sure how to attach a screen shot, don't seem to be having access. i am using dotnetnuke version 05.06.00

 
New Post
12/14/2010 4:29 PM
 
Not sure if you're encountering the same problem I am currently wrestling with, but it sounds similar. I believe the problem may lie in the way the menu is rendered. Particularly, there are TD's on either side of the menu items which I'm having a heck of a time targeting. Using Firebug I was able to find the following code that is rendered by the Navigation Element - I've highlighted the troublesome TD in the screen grab below.

Link


Wells Doty Jr
Online Content Development
 
New Post
12/21/2010 7:00 AM
 
Hi wells,

You are right. The problem is with the last TD. Can someone send us a sample to get this working? Have been searching for a solution last 3-4 weeks and have not come accross any yet.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN Menu Border issueDNN Menu Border 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