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, ...Width of Menu subitems to be 100% ???Width of Menu subitems to be 100% ???
Previous
 
Next
New Post
10/3/2011 12:49 PM
 
hey i got an issue betwen IE and Mozilla... When I created my skin, the menu's were using a fixed with for the subitems, like 200px... Now this was ok, but I had some long and some short menu items and I wanted to change this... so I changed it to 100%. Now in Mozilla, this works perfect. It shows the meu exactly like it should... But in IE, it does not. It shows each item at 100% and not as a block... can anyone help me out to fix this in IE??? even if I have to add two different CSS files, one for IE and one for Firefox, it does not matter.

Mozilla: http://i977.photobucket.com/albums/ae...
IE: http://i977.photobucket.com/albums/ae...

Thanks
Steve
 
New Post
10/3/2011 1:09 PM
 
this is the code for the css menu:

.art-hmenu ul a
{
display: block;
white-space: nowrap;
height: 30px;
/*min-width: 150px;*/
width: 100%;
overflow: visible;
background-image: url('images/subitem.png');
background-position: left top;
background-repeat: repeat-x;
border-width: 0;
border-style: solid;
text-align: left;
text-indent: 12px;
text-decoration: none;
line-height: 30px;
color: #D6E22C;
font-family: Arial, Helvetica, Sans-Serif;
font-size: 13px;
margin:0 6px 0 0;
padding:0;
}

.art-nav ul.art-hmenu ul span, .art-nav ul.art-hmenu ul span span
{
display: inline;
float: none;
margin: inherit;
padding: inherit;
background-image: none;
text-align: inherit;
text-decoration: inherit;
}

.art-hmenu ul a:link, .art-hmenu ul a:visited, .art-hmenu ul a:hover, .art-hmenu ul a:active, .art-nav ul.art-hmenu ul span, .art-nav ul.art-hmenu ul span span
{
text-align: left;
text-indent: 12px;
text-decoration: none;
line-height: 30px;
color: #D6E22C;
font-family: Arial, Helvetica, Sans-Serif;
font-size: 13px;
margin:0 6px 0 0;
padding:0;
}

.art-hmenu ul li a:hover
{
color: #D6E22C;
background-position: 0 -30px;
}

.art-hmenu ul li:hover>a
{
color: #D6E22C;
background-position: 0 -30px;
}

.art-nav .art-hmenu ul li a:hover span, .art-nav .art-hmenu ul li a:hover span span
{
color: #D6E22C;
}

.art-nav .art-hmenu ul li:hover>a span, .art-nav .art-hmenu ul li:hover>a span span
{
color: #D6E22C;
}

/* end MenuSubItem */
 
New Post
10/3/2011 2:47 PM
 
to follow up.... it works fine on IE 8 .... but looks like that in IE 9 ... wtf has changed to screw that up.... ie is really pissing me off lately....
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Width of Menu subitems to be 100% ???Width of Menu subitems to be 100% ???


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