Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DNNNav horizontal submenu breaks on space and display problem on Firefox
Previous Previous
 
Next Next
New Post 12/3/2007 6:31 AM
Unresolved
User is offline ecardona
21 posts
10th Ranked


DNNNav horizontal submenu breaks on space and display problem on Firefox 

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 8:17 AM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: DNNNav horizontal submenu breaks on space and display problem on Firefox 

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 8:54 AM
User is offline ecardona
21 posts
10th Ranked


Re: DNNNav horizontal submenu breaks on space and display problem on Firefox 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DNNNav horizontal submenu breaks on space and display problem on Firefox
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com
Smart-Thinker
DNN Modules for Social Networks for as low as $69 for 6 modules! We also maintain the DotNetNuke Directory - http://DNNDir.com
www.smart-thinker.com
DNN Photo Gallery
Complete Photo Gallery Management!
www.dnnPhotoGallery.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP