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, ...help with some weird CSShelp with some weird CSS
Previous
 
Next
New Post
4/19/2008 9:45 PM
 

not sure what the issue is, + I am really tired. lol

http://roanokewebsolutions.com/Skins/tabid/55/Default.aspx

In FireFox the menu items have like 250px height while they are fine in IE6 / 7.

I am using the housemenu, but its just the following CSS in control

#HouseMenuNav2 li
{
    /*all list items */
    border-bottom: 1px solid black;
    list-style: none;
    /*background-image: url(buttons/blue-ltblue_default.gif);
    background-repeat: repeat-x;*/
    /*IE hack to control spacing of menu */
    margin-left: 0px;
    voice-family: "\")\"";
    voice-family: inherit;
    /* for IE6+ and all other browsers */
    margin-left: 0px;
    background-color: #8c0c0e;   
        list-style: none;
}
#HouseMenuNav2 li a:link, #HouseMenuNav2 li a:visited
{
    /* main color of the menu */
    margin: 0;
    padding: 5px 5px 5px 3px;
    /*
    border-left: 5px solid #d88bb1;
    border-right: 1px solid #d88bb1;*/
    color: #8c0c0e;
    display: block;
    text-decoration: none;
    /* IE 5.01 hack to remove large white gaps in menu */
    height: 1px;
    voice-family: "\")\"";
    voice-family: inherit;
    /* for IE6+ and all other browsers */
    height: 100%;

}
#HouseMenuNav2 li a:hover
{
    background-image: none;
    background-repeat: repeat-x;   
    background-color: #A0B3D0;
    color: white;
}

if I take the li A:link and change the height to like 10% then it shrinks in Firefox, but also adversly affects IE. Any thoughts?

 

 
New Post
4/19/2008 11:01 PM
 

Try this:

#HouseMenuNav2[id] li a:link, #HouseMenuNav2[id] li a:visited { height: 14px }

This is actually a CSS hack. IE will ignore elements that have "[id]", while FF displays them.

Otherwise, you can use an exact value for height, don't use 100% because FF displays it proportionally to the screen.

HTH,

Duc

 
New Post
4/20/2008 9:43 AM
 

Hi,

Just replace the order. for example:

#HouseMenuNav2 li a:link, #HouseMenuNav2 li a:visited

should be:

 li #HouseMenuNav2 a:link,  li#HouseMenuNav2  a:visited

Why?

because in your markup that is the order!:

< li id="HouseMenuNav2" >

what you were doing was right for that:

< div id="HouseMenuNav2"  >

< li  >  etc".


www.nukedesigners.com W3C compliant Valid skins for dotnetnuke.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...help with some weird CSShelp with some weird CSS


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