[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

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

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
JenaL2
Asked:
JenaL2
  • 4
  • 3
1 Solution
 
IanThCommented:
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
 
JenaL2Author Commented:
Doesn't help. Thanks for looking.
0
 
IanThCommented:
what have you tested it
it looks like a space issue and the div gives you the space required
0
Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

 
JenaL2Author Commented:
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
 
JenaL2Author Commented:
I solved the problem myself so didn't really need to award points.
0
 
IanThCommented:
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
 
JenaL2Author Commented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now