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, ...Leading and Trailing Spaces in Root Menu ItemsLeading and Trailing Spaces in Root Menu Items
Previous
 
Next
New Post
12/5/2007 11:05 AM
 

I am having an issue with a horizontal menu and using text-decoration underline to signify an active selection or a mousover. On active or mouseover the underline seems to have 2 leading spaces and a trailing space. (I also used the SOLPART menu and get the same results.)  ANy help would be greatly appreciated.

For example, a non selection root item may look like this: Home

An active or mouseover item would look like   Home 

The HTML that contains the menu is:

            <table cellSpacing="0" cellPadding="0" border="0" height=39 width=100%>
                <tr valign=top>
                   <td bgcolor=#F2F3F5 background='<%= SkinPath %>menubgsliver.JPG' align="center" valign=middle style="border-bottom-color: #ABB5BE;border-bottom-width: 1px;border-bottom-style: solid;">[NAV]</td>
                </tr>
                <tr>
                    <td bgcolor=#F2F3F5><br></td>
                </tr>
            </table>

The style that corresponds to the active item is:

.SR_Menu_RootMenuActiveItem 
{
 cursor: pointer;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 10pt;
 font-weight: normal;
 font-style: normal;
 background: transparent;
 white-space: nowrap;
 padding-left: 40px;
 padding-right: 40px;
 padding-top: 0px;
 padding-bottom: 0px;
 color: #2E2E2E;
 text-decoration: underline;
}

 
New Post
12/6/2007 10:36 AM
 

I am using DNN 04.07.00. I am out of ideas. 

 
New Post
12/6/2007 11:14 AM
 

Frank,

I have seen this in SolPart before, I don't know about NAV.

SolPart injects & nbsp ; in its javascript to support certain (older) browsers. I have had this problem as well and it goes away if you remove these in spaces in the solpart.js. Just search the js for these & nbsp ; and remove them. I will solve your problem in IE6 and Firefox.  I don't know what the consequences for older browsers are, I haven't investigated it. Of course this should be considered a core change and you need access to the dnn installation.

If you need this specific behavior you might better use an alternative menu control.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
12/6/2007 1:25 PM
 

Thank you so much. Aparently the [NAV] control also references spmenu.js. I removed the spaces and it corrected my issue.

 
New Post
12/6/2007 3:09 PM
 

Has anybody figured out the actual fix for this without going making changes to the .js file?
I'd like to provide users with minimal effort to modify their dnn when they install a package on their servers.

Thanks,


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Leading and Trailing Spaces in Root Menu ItemsLeading and Trailing Spaces in Root Menu Items


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