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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNNNav horizontal submenu breaks on space and display problem on FirefoxDNNNav horizontal submenu breaks on space and display problem on Firefox
Previous
 
Next
New Post
12/3/2007 9:31 AM
 

Hi again,

I created this menu using the DNNNav: http://www.hemcocorp.info/site1/

But I have 2 problems:

1. For example Fume Hoods, if I type the name with the  regular space, the submenu breaks on that and creates a new row, is there a way to fix it other than addind the   between words?

2. The menu looks great on IE, but on firefox It renders the root items on the middle of the div and doesnt respect the background image

This is the code for the DNNNav:

<td width="100%" height="35" class="NavPane">
                      <dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" 
                      CSSControl="MainMenu_MenuBar"
                      CSSNodeRoot="MainMenu_TabRootMenuItem"
                      CSSIcon="MainMenu_MenuIcon" 
                      CSSContainerSub="MainMenu_SubMenu"
                      CSSBreak="MainMenu_MenuBreak"
                      CSSNodeHover="MainMenu_TabMenuItemHover"
                      ControlAlignment="justify"
                      CSSBreadCrumbRoot="MainMenu_TabRootMenuItemSel"                    
                      CSSNodeSelectedRoot="MainMenu_TabMenuItemSelHover"                      
                      CSSNodeHoverSub="MainMenu_SubMenuItemSelHover"
                      ControlOrientation="horizontal"
                      IndicateChildren="false"
                      NodeLeftHTMLSub="&nbsp;&nbsp;"
                      NodeRightHTMLSub="&nbsp;&nbsp;|"
                      >                      
                      <CustomAttributes>
                        <dnn:CustomAttribute Name="submenuorientation" Value="Horizontal" />
                      </CustomAttributes>
                    </dnn:NAV>

</td>

And this is the CSS for the root menu items:

.MainMenu_TabRootMenuItem /* add bloque sin TD*/
{
    color: #FFFFFF;
    font-family: Verdana, Arial,  Tahoma,sans-serif;
    font-size: 9pt;
    font-weight: normal;
    border-top:10px solid transparent;
    background-image:url(images/MenuBg.gif)   
    border-right:1px solid #e8eeec;
    height:35px;
    padding-right: 10px;
    padding-left: 10px;
}

 

Could you pleae help me with this.

 

Thanks.

 

 
New Post
12/3/2007 11:17 AM
 

1.  I believe you can control the wrapping in your css (white-space: nowrap;)

2.  Sounds like you are trying to set the height on a SPAN tag and not getting expected results.  (the root menu items are rendered as spans).   One thing you can try is making them render as inline-blocks.  However, FireFox does not support the normal css (display: inline-block). you need to use a mozilla specific setting

 display:-moz-inline-box; /* Gecko proprietary  (ORDER IS IMPORTANT HERE!)*/ 
 display: inline-block; /* supported by Opera and ? */


 
New Post
12/3/2007 11:54 AM
 

Hi again Jon,

Thanks the white-space works great, I added the settings for mozilla and it fixed the top of the menu, but now the borders that I used on the root menu are breaking to the bottom of the menu, I dont know if it has something to do with the top border that I use to center the items.

Thanks

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNNNav horizontal submenu breaks on space and display problem on FirefoxDNNNav horizontal submenu breaks on space and display problem on Firefox


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