Solved

Dreamweaver Horizontal Spry Menu: Problem with IE; possible css issue

Posted on 2011-03-17
7
377 Views
Last Modified: 2012-05-11
Looks great in Firefox.
In IE, when hovering over secondary navigation, the tertiary menu is truncated.
Go to:
http://gssacorg.tempwebpage.com/index.html
Hover over "What We Do", then hover over "Community Organizing/Coalition" and see the sub-sub menu truncated.
There's a 4th layer under "What We Do" that you'll see (except in IE) if you hover over "Education & Training".
I fixed the previously truncated secondary menu by setting a width of the ul.MenuBarHorizontal ul

Here's the page to the spry css:
http://gssacorg.tempwebpage.com/SpryAssets/SpryMenuBarHorizontal.css

You can see the structure of the navigation at:
http://gssacorg.tempwebpage.com/Library/nav.lbi

I just can't figure out what is driving the decision in IE to not paint the entire menu.

Thanks in advance,
jena
0
Comment
Question by:JenaL2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 35171532
hmm might be guessing a bit here but it could be your issue

see
<div align="center"><a class="MenuBarItemSubmenu" href="#">Services</a>
        <ul>
          <li><a href="services_OA.htm">Outsourcing Advisory</a></li>
          <li><a href="services_CS.htm">Category Sourcing</a></li>
          <li><a href="services_OS.htm">Organizational Strategy</a></li>
          <li><a href="services_OEDS.htm">Operational Excellence &amp; Decision Support</a></li>
          <li><a href="services_AMO.htm">Asset Management Optimization</a></li>
          <li><a href="services_RE.htm">Real Estate Services</a></li>
        </ul>
    </div>

this has a div around the sprymenubarsubdomain

and yours dont also note the statement is differnet to yours
0
 

Author Comment

by:JenaL2
ID: 35178218
Doesn't help. Thanks for looking.
0
 
LVL 30

Expert Comment

by:IanTh
ID: 35179319
what have you tested it
it looks like a space issue and the div gives you the space required
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Accepted Solution

by:
JenaL2 earned 0 total points
ID: 35195548
Thanks Ian,
I tried what you suggested and it didn't solve the problem. To wrap around the div with the intent to put a space in front of it? I don't understand how that would solve the problem of the menu being truncated. You did give me an idea that solved the problem though. I created a test site and just used Dreamweaver's Spry menu default install. I then, methodically replaced each section in my customized version until I found the replacement that solved the problem. I was then able to isolate down to this line in the css:
filter:alpha(opacity=98);
as a component of:
ul.MenuBarHorizontal ul

I don't understand why IE would complain about something like that but it is happy now and my problem is solved.

Again, thanks for taking the time to look.
Jena
0
 

Author Closing Comment

by:JenaL2
ID: 35225519
I solved the problem myself so didn't really need to award points.
0
 
LVL 30

Expert Comment

by:IanTh
ID: 35226491
i did the same and I dont have filter in my menubarhorizontal

what version are you using

see
http://www.w3schools.com/Css/css_image_transparency.asp

it points to an ie and firefox difference with filter::
0
 

Author Comment

by:JenaL2
ID: 35227294
Hi Ian,
I had added a filter to allow transparency of the secondary menus. It wasn't a standard option in the spry widget.
ul.MenuBarHorizontal ul
{
      margin: 0;
      padding: 0;
      list-style-type: none;
      font-size: 100%;
      z-index: 1020;
      cursor: default;
      width: 14em;
      position: absolute;
      left: -1000em;
      background-color: #FFCB80;
/*      filter:alpha(opacity=98);
*/      -moz-opacity:0.98;
      -khtml-opacity:0.98;
      opacity:0.98;
}

In the link you were referencing:
"Firefox uses the property opacity:x for transparency, while IE uses filter:alpha(opacity=x)."

That's right. And I hadn't seen the problem with using the filter before even though I have used transparency on other websites. But on the other websites, I hadn't gone so many levels deep into the navigation.  You can see in the above code that I've commented out the filter so the filter isn't enabled with IE.

It still doesn't seem logical that removing that line of code would cause the width restriction of the 3rd and 4th levels of navigation. Very odd.... Oh well, I'm happy it's working now.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question