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, ...Issue with DNN5 menu in IEIssue with DNN5 menu in IE
Previous
 
Next
New Post
5/4/2010 5:41 AM
 

Can someone please help..

I have styled the MainMenu so that each root menu item has a different background image, it works beautifuly in Firefox but is only showing the .sel image in IE. I am using IE 8, not sure if this also affects earlier versions. Appreciate anyones help!

See below css:

/* main menu td */
.mainMenu
{
    background-image:url(images/NavigationBackground_05.jpg);
    background-repeat:no-repeat;
    vertical-align:top;
    width: 907px;
    height: auto;
    border: 0px;
    background-color: #f9f6e8;
    cursor:pointer;
    z-index:1;
    overflow:hidden;
}

/* Main Menu Normal */
.mainMenu .root.mi
{   
    background-repeat:no-repeat;
    width:169px;
    height:100px;
    vertical-align:middle;
    display:block;
    color: #FFFFFF;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight:bold;    
    text-align:center;
    padding:23px 0px 0px 0px;
    text-transform:uppercase;
    margin-right:1px;   
    z-index:1010;
    float:left;
        overflow:hidden;

}
.mainMenu .root.mi0
{
     background-image:url(images/ButtonBackgroundDefaultBROWN_06.png);
}   
.mainMenu .root.mi1
{
     background-image:url(images/ButtonBackgroundDefaultBLUE_06.png);
}
.mainMenu .root.mi2
{
     background-image:url(images/ButtonBackgroundDefault_07.png);
}
.mainMenu .root.mi3
{
     background-image:url(images/ButtonBackgroundDefaulGRAY_06.png);
}
.mainMenu .root.mi4
{
     background-image:url(images/ButtonBackgroundDefaultBROWN_06.png);
}   
.mainMenu .root.mi5
{
     background-image:url(images/ButtonBackgroundDefaultBLUE_06.png);
}
.mainMenu .root.mi6
{
     background-image:url(images/ButtonBackgroundDefault_07.png);
}
.mainMenu .root.mi7
{
     background-image:url(images/ButtonBackgroundDefaulGRAY_06.png);
}
.mainMenu .root.mi8
{
     background-image:url(images/ButtonBackgroundDefaultBROWN_06.png);
}   
.mainMenu .root.mi9
{
     background-image:url(images/ButtonBackgroundDefaultBLUE_06.png);
}
.mainMenu .root.mi10
{
     background-image:url(images/ButtonBackgroundDefault_07.png);
}
.mainMenu .root.mi11
{
     background-image:url(images/ButtonBackgroundDefaulGRAY_06.png);
}


/* Main Menu hover */
.mainMenu .root.hov.mi
{
    color:#FFFFFF;
    width:169px;
    height:100px;
    vertical-align:middle;
    padding:23px 0px 0px 0px;
    display:block;
}
.mainMenu .root.hov.mi0
{
    background-image:url(images/ButtonBackgroundDefaultBROWNhover_06.png);
}
.mainMenu .root.hov.mi1
{
    background-image:url(images/ButtonBackgroundDefaultBLUEhover_06.png);
}
.mainMenu .root.hov.mi2
{
    background-image:url(images/ButtonBackgroundHover_06.png);
}
.mainMenu .root.hov.mi3
{
    background-image:url(images/ButtonBackgroundDefaulGRAYhover_06.png);
}
.mainMenu .root.hov.mi4
{
    background-image:url(images/ButtonBackgroundDefaultBROWNhover_06.png);
}
.mainMenu .root.hov.mi5
{
    background-image:url(images/ButtonBackgroundDefaultBLUEhover_06.png);
}
.mainMenu .root.hov.mi6
{
    background-image:url(images/ButtonBackgroundHover_06.png);
}
.mainMenu .root.hov.mi7
{
    background-image:url(images/ButtonBackgroundDefaulGRAYhover_06.png);
}
.mainMenu .root.hov.mi8
{
    background-image:url(images/ButtonBackgroundDefaultBROWNhover_06.png);
}
.mainMenu .root.hov.mi9
{
    background-image:url(images/ButtonBackgroundDefaultBLUEhover_06.png);
}
.mainMenu .root.hov.mi10
{
    background-image:url(images/ButtonBackgroundHover_06.png);
}
.mainMenu .root.hov.mi11
{
    background-image:url(images/ButtonBackgroundDefaulGRAYhover_06.png);
}


   

/* Main menu selected */
.mainMenu .root.sel.mi, .mainMenu .bc {
    color:#FFFFFF;
    background-repeat:no-repeat;
    width:169px;
    height:100px;
    vertical-align:middle;
    padding:23px 0px 0px 0px;
    display:block;
}
.mainMenu table{
}
.mainMenu .root.sel.mi0
{
    background-image:url(images/BrownCLICKED_06.png);
}   
.mainMenu .root.sel.mi1
{
    background-image:url(images/BlueCLICKED_06.png);
}   
.mainMenu .root.sel.mi2
{
    background-image:url(images/GreenCLICKED_06.png);
}   
.mainMenu .root.sel.mi3
{
    background-image:url(images/GrayCLICKED_06.png);
}   
.mainMenu .root.sel.mi4
{
    background-image:url(images/BrownCLICKED_06.png);
}   
.mainMenu .root.sel.mi5
{
    background-image:url(images/BlueCLICKED_06.png);
}   
.mainMenu .root.sel.mi6
{
    background-image:url(images/GreenCLICKED_06.png);
}   
.mainMenu .root.sel.mi7
{
    background-image:url(images/GrayCLICKED_06.png);
}
.mainMenu .root.sel.mi8
{
    background-image:url(images/BrownCLICKED_06.png);
}   
.mainMenu .root.sel.mi9
{
    background-image:url(images/BlueCLICKED_06.png);
}   
.mainMenu .root.sel.mi10
{
    background-image:url(images/GreenCLICKED_06.png);
}   
.mainMenu .root.sel.mi11
{
    background-image:url(images/GrayCLICKED_06.png);
}


   

/* SUB Menu Normal */
.mainMenu tr.mi{
    background-color:#FFFFFF;
    z-index: 1000;
    font-size: 11px;
    font-weight:bold;
    font-family:Arial, Helvetica, sans-serif;
    text-align:left;
    color:#333333;
    line-height:2em;
    text-transform:none;
    padding-top:0px;
    display:block;
}
.mainMenu tr.mi td{
padding: 2px 2px 2px 2px;
text-transform:none;
padding-left:0;
padding-top:0;
height:5px;
background-image:none;
margin:0;


}

 
New Post
5/4/2010 7:18 AM
 
Hi,

It looks like you might need to seperate the classes, in the CSS below you've got .root.mi when it should be .root .mi with a space between them. which means all .mi elements within all .root items. What you've got, should be used for actual HTML elements such as div.mi which means all div items with a class of mi. Although this is true, I've found out (from this example) that you can string classes together in order to target an element with multiple classes associated to it, so the above CSS is fine :)

Let me know if this helps.

Rick


PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
5/4/2010 8:19 AM
 
Hi Rick Unfortunately it didn't work. Maybe the problem is in my .htm file? Jess
 
New Post
5/4/2010 9:01 AM
 
Hi Rick

Unfortunately it didn't work. Maybe the problem is in my .htm file?

Jess
 
New Post
5/4/2010 9:45 AM
 
Jess,

Any chance you can link to an example of the skin in action? or send me a copy of the skin pack so I can look at the issue (email it to rick(at)psdtodnn(dot)com).

Regards,

Rick.


PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Issue with DNN5 menu in IEIssue with DNN5 menu 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