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, ...Works in Firefox doestnWorks in Firefox doestn't lineup in IE
Previous
 
Next
New Post
9/6/2008 3:00 AM
 

Emailed it to you

 
New Post
9/6/2008 3:47 AM
Accepted Answer 

It's a strange problem, and it must be an IE bug IMO.

I found one solution, but it is not very logical (but it does work)

If you set

.MenuSeparator img{
margin-top:1px;
}

The images are ok in IE6 (I didn't test in IE7, mostly IE6 is worse), but there is a border on top now, which you have to remove.

.MainMenu_MenuBreak has a border top and bottom, remove them and add

border-width:0;

(to overwrite a value inherited from default.css)

But these changes will also push the image down one pixel in FF (which is correct) so you will have to use a hack (* html, or another one) to apply this only to IE

(and check if it's still a problem in IE 8  and up)

Resulting CSS:

.MainMenu_MenuBreak {
    background-color: #CCCCCC;
    background-image: url(btnbg2.gif);
    background-position: center center;
    border-width:0;
    height: 32px;
}

* html .MenuSeparator img{
margin-top:1px;    
}

So, why does it work? No idea... You need some strange hacks for IE sometimes... (I'm not a fan;-)

 
New Post
10/2/2008 2:13 PM
 

Oh wow, I have a totally opposite issue: IE7 renders my menu perfectly, but Mozilla doesn't recognize the padding nor margin parameters.

Mozilla

Int. Explorer

 

here's my CSS:

.MainMenu_MenuContainer {
    background-color: transparent;
}
.MainMenu_MenuBar {
    cursor: hand;
    height:16px;
    background-color: Transparent;
}
.MainMenu_MenuItem {
    margin-right:10px;
    cursor: pointer;
    color:#FFFFFF;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:11px;
    font-weight:bold;   
    text-transform: lowercase;
    background-color: Transparent;
}
.MainMenu_MenuIcon {
    display: none;
}
.MainMenu_SubMenu {
    z-index: 1000;
    margin-top:1px;   
    background-color:#7F8400;
    cursor: pointer;
}
.MainMenu_MenuBreak {
    display:none;
}
.MainMenu_MenuItemSel {
    margin-right:10px;
    cursor: pointer;
    color:#FFFFFF;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: lowercase;
    background-color:#C8CF68;   
}
.MainMenu_MenuArrow {
    display:none;
}
.MainMenu_RootMenuArrow {
    display:none;
}

 

 

Please help!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Works in Firefox doestnWorks in Firefox doestn't lineup in IE


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