Stan.

My apologies.

Because your submenu was a few pixels higher than its parent in IE7, I just 
presumed that you wanted to lower it so that the tops aligned. I misunderstood 
that it's the top of the sub that you want aligned with the bottom of the 
parent.

So, here's the fix:

ul.MenuBarVertical ul
{
 margin: 35px 0 0 95%;
}

which also works in Firefox and the sub of the sub lines up OK too.

It's the same definition as last time, but the margin-top is now 35px

Tinkering with other parameters will not work. You are addressing the sub ul of 
the parent li (ul li) which is what <ul.MenuBarVertical ul> does.

Think of each sub-<ul> as a block of <li>s. It's the top of the block that you 
want to move, not the individual <li>s.

Regards, 
 
Alan.
 
www.theatreorgans.co.uk
www.virtualtheatreorgans.com
Admin: ConnArtistes, UKShopsmiths, 2nd Touch & A-P groups
Shopsmith 520 + bits
Flatulus Antiquitus


  ----- Original Message ----- 
  From: Stan McCoy 
  To: css-d@lists.css-discuss.org 
  Sent: Monday, May 05, 2008 10:33 PM
  Subject: Re: [css-d] Submenu vertical position in IE7


  Alan, Thanks for the reply. I'm thrilled to get any response on this as long
  as I've been messing with it.
  Unfortunately, this change seems to have no effect on IE7 in Windows XP.

  I've tinkered with these two styles below thinking they were the likely
  culprit, but I'm guessing at solutions. Any ideas?

  /* Submenu that is showing with class designation MenuBarSubmenuVisible, we
  set left to 0 so it comes onto the screen */

  ul.MenuBarVertical ul.MenuBarSubmenuVisible

  {
      left: 0;

  }


  /* Menu item containers are same fixed width as parent */

  ul.MenuBarVertical ul li

  {
      width: 8.2em;

  }

  Thanks!

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to