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, ...Inventua Topmenu ignores css stylesInventua Topmenu ignores css styles
Previous
 
Next
New Post
1/9/2008 5:40 AM
 

Hello dear DNN Users,

I am working on a DNN website at the moment and am using the inventua Topmenu and the Inventua Sidemenu for Navigation.
I managed to make the skin work as intended on the Internet explorer but the Topmenu keeps looking messed up in Firefox. It seems it completely ignores certain css styles.
Moreover Firefox does not include the spacer in between the menu items, even though Internet explorer does without problems.
I cannot give you the Link because the Website is to be kept private until release but maybe you can spot a mistake in the css styles or the skin code i pasted below.

Skin Code:


<div align="center">
 <table border="0" width="100%" cellspacing="0" cellpadding="0" background="img/menutopbg.jpg" height="33" id="table3" valign="middle">
  <tr>
   <td>
   <div align="center" valign="middle">
    <table border="0" cellspacing="0" cellpadding="0" id="table8" height="27">
     <tr>
      <td width="3" background="img/topmenu-spacer.png" style="background-repeat: no-repeat; background-position: top right;"></td>
      <td valign="middle">[INVTOPMENU]</td>
      <td width="3" background="img/topmenu-spacer.png" style="background-repeat: no-repeat; background-position: top left;"></td>
     </tr>
    </table>
   </div>
   </td>
  </tr>
 </table>
</div>

 

The XML code for the Topmenu is:

<Object>
     <Token>[INVTOPMENU]</Token>
      <Settings>
 <Setting>
         <Name>MenuBarCssClass</Name>
         <Value>TMenuBar</Value>
       </Setting>
       <Setting>
         <Name>MenuItemCssClass</Name>
         <Value>TMenuItem</Value>
       </Setting>
       <Setting>
         <Name>MenuHighlightCssClass</Name>
         <Value>TMenuHighlight</Value>
       </Setting>
       <Setting>
         <Name>CurrentItemCssClass</Name>
         <Value>TMenuCurrent</Value>
       </Setting>
       <Setting>
         <Name>UseName</Name>
         <Value>true</Value>
       </Setting>
       <Setting>
         <Name>Seperator</Name>
         <Value>&lt;span class="tmenuspacer" width="6"&gt;&lt;/span&gt;</Value>
       </Setting>
      </Settings>
    </Object>


And finally the CSS code for the Topmenu:

.tmenuspacer
{
 background-image: url(img/topmenu-spacer.png);
 background-repeat: no-repeat;
 height: 27px;
 width: 6px;
 vertical-align: middle;
}

.TMenuBar
{
 height: 27px;
 vertical-align: middle;
 color: #fff;
}

.TMenuItem
{
 background-image: url(img/topmenu-item.png);
                color: #fff;
 background-repeat: repeat-x;
 vertical-align: middle;
 height: 27px;
}

.Link
{
                color: #fff;
                height: 27px;
                cursor: hand;
                vertical-align:middle;
                position: relative; top: 0px;
 padding: 5px 5px 5px 5px;
}

.TMenuItem A, .TMenuItem A:Link .TMenuItem A:Hover,
.TMenuItem A:Active, .TMenuHighlight A, .TMenuHighlight A:Link, .TMenuHighlight A:Hover, .TMenuHighlight A:Active, .TMenuCurrent A, .TMenuCurrent A:Link, .TMenuCurrent A:Hover, .TMenuCurrent A:Active, .TMenuBar A, .TMenuBar A:Hover, .TMenuBar A:Link, .TMenuBar A:Active
{
 color: #fff;
}

.TMenuHighlight
{
 background-image: url(img/topmenu-hover.png);
 background-repeat: repeat-x;
 vertical-align: middle;
 height: 27px;
 color: #fff;
}
.TMenuCurrent
{
 background-image: url(img/topmenu-current.png);
 background-repeat: repeat-x;
 color: #fff;
                cursor: hand;
 height: 27px;
 padding: 5px 5px 5px 5px;
 position: relative; top: 0px;
}


I found out there was a mysterious style called .Link which overwrote my styles for the Topmenu so i just added .Link to my css file and made my own settings for it.
As i said, everything works fine in IE, but Firefox cant display it correctly.
I would really appreciate it if you could help me out with this one since i have a deadline for the Page on January the 15th and this display bug in Firefox is the only issue i have left with the page.

Kind regards

Peter Walker

 
New Post
1/9/2008 4:01 PM
 

please contact the developer of the module for support


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Inventua Topmenu ignores css stylesInventua Topmenu ignores css styles


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