Horizontal Menu - Submenu position

I have delayed the new version of my site because I was
looking for the solution, but now, I couldn't wait anymore and it
is online with the following problems on the horizontal menu bar:
1- On IE, the submenus' position is wrong and becomes
vertical when mouse is hovering.
2- On all browsers (those I could test, at least) the second
level of submenus appears above the first level, hiding it. (see
"amateur" submenus for exemple)
My website: www.thebaysoccer.com
in case it helps, I copied the css below.
Thanks in advance for your help! Sorry if the question looks
stupid, but I'm learning and I didn't know anything about HTML when
I started the site...Any help would be appreciated!
@charset "UTF-8";
/* SpryMenuBarHorizontal.css - Revision: Spry Preview Release
1.4 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights
reserved. */
LAYOUT INFORMATION: describes box model, positioning,
z-order
/* The outermost container of the Menu Bar, an auto width box
with no margin or padding */
ul.MenuBarHorizontal
margin: 0;
padding: 0;
list-style-type: none;
font-size: 12px;
cursor: default;
width: auto;
font-family: "Arial Rounded MT Bold";
/* Set the active Menu Bar with this class, currently setting
z-index to accomodate IE rendering bug:
http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this
container and are a fixed width */
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 12px;
position: relative;
cursor: pointer;
width: auto;
float: left;
white-space: nowrap;
/* Submenus should appear below their parent (top: 0) with a
higher z-index, but they are initially off the left side of the
screen (-1000em) */
ul.MenuBarHorizontal ul
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: auto;
position: absolute;
left: -1000em;
/* Submenu that is showing with class designation
MenuBarSubmenuVisible, we set left to auto so it comes onto the
screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: auto;
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
width: 10em;
background-color: transparent;
/* Submenus should appear slightly overlapping to the right
(95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
position: absolute;
/* Submenu that is showing with class designation
MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
ul.MenuBarSubmenuVisible
left: auto;
top: 0;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
border: 1px solid #CCC;
/* Menu items are a light gray block with padding and no text
decoration */
ul.MenuBarHorizontal a
display: block;
cursor: pointer;
background-color: #333;
padding: 0.5em 0.75em;
color: #EEE;
text-decoration: none;
text-align: left;
/* Menu items that have mouse over or focus have a blue
background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
background-color: #ef3121;
color: #000000;
width: auto;
/* Menu items that are open with submenus are set to
MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal
a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal
a.MenuBarSubmenuVisible
background-color: #ef3121;
color: #000000;
SUBMENU INDICATION: styles if there is a submenu under a
given menu item
/* Menu items that have a submenu have the class designation
MenuBarItemSubmenu and are set to use a background image positioned
on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
width: auto;
/* Menu items that have a submenu have the class designation
MenuBarItemSubmenu and are set to use a background image positioned
on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class
designation MenuBarItemSubmenuHover and are set to use a "hover"
background image positioned on the far left (95%) and centered
vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class
designation MenuBarItemSubmenuHover and are set to use a "hover"
background image positioned on the far left (95%) and centered
vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
BROWSER HACKS: the hacks below should not be changed unless
you are an expert
/* HACK FOR IE: to make sure the sub menus show above form
controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
/* HACK FOR IE: to stabilize appearance of menu items; the
slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left;
background: #333333;

Anybody can help?

Similar Messages

  • Spry horizontal menu: submenu background problem in IE7

    Hello,
    I am using the Spry horizontal menu in this website: http://www.isis-papyrus.com
    It works perfectly on all current version browsers, but in IE7 the white submenu background only shows behind the actual text for each link and not to the border of the submenu box.
    I modified the css to allow for dynamic sizing for each submenu (see below). 
    Any suggestions would be greatly appreciated.
    Best, Oliver
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 10px;
    cursor: default;
    width: auto;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: auto;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: auto;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 100%;
    clear:left;
        float: none;
    background-color: transparent;
        color: #fff;
    white-space: nowrap;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: 100%;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #339999;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #fff;
    padding: 0.4em 0.8em;
    color: #339999;
    text-decoration: none;
    white-space: nowrap;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #fff;
    color: #339999;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #339999;
    color: #fff;
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

    Thank you so much for your quick answer Beth!
    You solved half my problem!
    I added the bg-color to the li and ul styles of the submenus (css below) and now the white background shows correctly in IE7.
    The only thing I still would like to resolve: The hover style for the menu items (inverse bg and text colors) only works for the actual text of the link and not for the entire width of the submenu box.
    Any suggestions?
    Thank you again.
    Best, Oliver
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 10px;
    cursor: default;
    width: auto;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: auto;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: auto;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 100%;
    clear:left;
        float: none;
    background-color: #fff;
         color: #fff;
    white-space: nowrap;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: 100%;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #339999;
    background-color: #FFF;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #fff;
    padding: 0.4em 0.8em;
    color: #339999;
    text-decoration: none;
    white-space: nowrap;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #fff;
    color: #339999;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #339999;
    color: #fff;
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

  • Horizontal menu submenu display issue in IE9

    I inserted a Spry horizontal menu into a page in Dreamweaver CS5 then edited it to display the way I need it to look. It looks great in FF, Safari, Chrome and Opera. In IE9 the drop down submenu items have too much (vertical) space between them. This is probably because I added a positioning element of "top: 20px" to make the menu center (vertically) correctly over the background image. I have tried any number of alternatives and this version of the CSS is just perfect except in IE.  I have searched for days for similar issues but haven't found anything to help.
    The page is http://myparlour.net/DashboardDDS /collections.html
    The site CSS is http://myparlour.net/DashboardDDS/dashboard_dds.css
    The Spry menu CSS is http://myparlour.net/DashboardDDS/SpryAssets/SpryMenuBarHorizontal.css
    I would appreciate any help in resolving this problem.

    Try
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    <style>
    ul.MenuBarHorizontal {
         font-size: 90%;
         width: 800px;
         margin: auto;
    ul.MenuBarHorizontal li {
         width: 20%;
    ul.MenuBarHorizontal a {
         text-align: center;
    ul.MenuBarHorizontal ul a {
         text-align: left;
    </style>
    </head>
    <body>
    <ul id="MenuBar1" class="MenuBarHorizontal">
      <li><a class="MenuBarItemSubmenu" href="production.html">Production</a>
        <ul>
          <li><a href="production_mtd.html">Month to Date</a></li>
          <li><a href="production_ytd.html">Year to Date</a></li>
          <li><a href="production_history.html">History</a></li>
          <li><a href="production_monthly_goal.html">Monthly Goal</a></li>
        </ul>
      </li>
      <li><a href="collections.html" class="MenuBarItemSubmenu">Collections</a>
        <ul>
          <li><a href="collections_mtd.html">Month to Date</a></li>
          <li><a href="collections_current.html">Current by Source</a></li>
        </ul>
      </li>
      <li><a href="new_patients.html">New Patients</a>              </li>
      <li><a href="office_receivables.html" class="MenuBarItemSubmenu">Office Receivables</a>
        <ul>
          <li><a href="office_receivables_patient.html">Patient Receivables</a></li>
          <li><a href="office_receivables_insurance.html">Insurance Receivables</a></li>
        </ul>
      </li>
      <li><a href="#">      Dashboard Demo</a></li>
    </ul>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    Gramps

  • Horizontal Menu - Submenu Problem in IE

    I wanted a Spry menu that would adjust to longer menu abd submenu items, and followed the tips in the Adobe Labs article "Auto Width Horizontal Menu Bar." What I've ended up with works fine in Forefox, but in IE7, when I hover over the Main menu item, the submenu drops down fine. But when I mouse over the first item in the submenu, the submenu realigns from a striaght drop down list into submenu items arrayed in two horitzontal rows below the main menu.
    I've pored through it for a couple of hours now, and compared what I did closely to the Auto Width menu bar tutorial sample, and apart from some font styling, I'm not finding what's going wrong. Any help would be much appreciated.
    The menu is up on this page:
    http://www.catskill4sale.com/Nav_topnew.htm
    I'm using Spry 1.6.1 and uploaded those Spry assets to the server.
    Thanks for any help anyone can offer on this.
    David

    Hi David,
    First of all add a closing bracket as shown in red in the following tag:
    <meta name="description" content="Sullivan County, New York Real Estate Listings.">
    I have gone through your listing and found that you did not make an allowance for IE.
    In the following steps I have shown the complete code rather than change your code.
    1. Make sure you have the original unadulterated Spry stylesheet attached to your page.
    2. Add the following styles to your page. The style rule coiloured red is read by IE only hence the remark (/*...*/):
    <style type="text/css">
    <!--
    .clearAll {
        clear: both;
    .sidebar {
        /*width: 200px;*/
    ul.MenuBarHorizontal#MenuBar1 li {
        width: auto;
    ul.MenuBarHorizontal#MenuBar1 ul {
        width: auto;
    ul.MenuBarHorizontal#MenuBar1 ul li {
        display: block;
        float: none;
        width: auto;
        white-space: nowrap;
        border-bottom: solid 1px #EEE;
    ul.MenuBarHorizontal#MenuBar1 a.MenuBarItemSubmenu {
        padding: 0.5em 2em 0.5em 0.75em;
    -->
    </style>
    3. Add your menubar as follows making sure that you add the extra red coloured DIV's to accomodate IE :
    <div class="sidebar">
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li><a href="default.asp">Main Home</a>            </li>
        <li><a href="listings.asp">Search MLS</a></li>
        <li><a class="MenuBarItemSubmenu" href="resources.asp">Buyer Info</a>
          <ul>
            <li><a href="lakefront.asp">About Lakes</a></li>
            <li><a href="family.asp">Familes with Children</a></li>
            <li><a href="value2.asp">What Houses Cost Here</a></li>
            <li><a href="gayre.asp">For GLBT Buyers</a></li>
            <li><a href="highend.asp">For Upper End Buyers</a></li>
            <li><a href="faq.asp">Buyer FAQs</a></li>
          </ul>
        </li>
        <li><a href="http://blog.catskill4sale.com">My Blog</a></li>
        <li><a href="county.asp" class="MenuBarItemSubmenu">Area Intro</a>
          <ul>
            <li><a href="county.asp">Sullivan County Areas</a></li>
            <li><a href="catskillsrealestate.asp">Catskill Cnty Comparison</a></li>
          </ul>
          </li>
        <li><a href="current.asp" class="MenuBarItemSubmenu">Market Conditions</a>
          <ul>
            <li><a href="current.asp">Latest Market Report</a></li>
            <li><a href="archive.asp">Archived Reports</a></li>
          </ul>
          </li>
        </ul>
      </div> 
      <div class="clearAll"> </div>
      <script type="text/javascript">
      <!--
      var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
      //-->
      </script>
    </div>
    I hope the above will fix your problem. I have purposely not centered the submenus because that added another problem.
    Ben

  • Accordion Menu - Submenu position issue

    Hello,
    I've created an accordion menu that resides in the top right corner of my website. I seem to be getting various undesired results when previewing the site.
    Desired layout: Build mode
    Undesired Result: Page Preview
    Undesired Result: Site Preview
    The top level sites work fine but when I move the submenu to the left of the menu using the X position, then preview the page or site, the submenus show up either right over the menu or way off to the left of the site, almost completely off the page. I have no idea why, please help.
    Jeff

    Hi Sanjit, thank you for your reply.
    The first image is a from the Design View, the second is a page preview in browser and the final image is a site preview in browser. My default browser is Safari (also testing in Chrome however).
    If I leave the menu with default settings, the submenus appear off the site's live area and when I preview they do not show up at all. Presumabley they are off to the right side of the site.
    The menu is and has been set to "All Pages" and not manually throught my build. Other than plaving the vertical menu widget within the accordion widget, it is more or less default with exeption of some styling.
    I will try to rebuild the menu and see if the problem is still occuring. If you have any further sugestions I would be happy to hear them.
    Thnaks again

  • Spry horizontal menu - submenu items are displaying laterally instead of vertically in IE

    I am currently building a website in Dreamweaver CS5 (on a mac) that includes a horizontal Spry menubar.  The drop down items appear vertically, as I want them to in Firefox, Safari, and Chrome, but not in Internet Explorer for Windows.  Instead, the items are listed laterally in IE.  How can I fix this?
    Here's a link to the page:
    http://dcsyc.org/
    Thanks!

    I'm not certain which attribute I changed, ive done a lot more coding since then, but if you open the CSS file linked above its in there somewhere. I'm pretty sure I set the submenus width to automatic to fix it, but I'm not 100%.
    ul.MenuBarHorizontal ul
         margin: 0;
         padding: 0;
         list-style-type: none;
         font-size: 12pt;
         z-index: 1020;
         cursor: default;
         width: auto;
         position: absolute;
         left: -1000em;
    I think its the width: auto; in that tag.
    On the plus side, the link to the CSS works, and the answer is in there somewhere.
    If you really cant figure it out, post again here and we'll put our heads togethe .

  • Spry Horizontal Menu Bar position change in different browsers

    Here is the page: http://pragati.de/index2.html
    There is a Horizontal Spry Menu Bar which is floating right.  In Dreamweaver CS5's Live View, the navigation menu appears perfectly in line with background image and same is the true when previewed in Google Chrome and Safari.  However when previewed in Firefox or Opera, the navigation menu appears a little below the background image and leaves kind of a dent which is clearly visible.  I have not yet tried it in IE.
    I have posted this question before but didn't find any solution.

    Here is the page: http://pragati.de/index2.html
    There is a Horizontal Spry Menu Bar which is floating right.  In Dreamweaver CS5's Live View, the navigation menu appears perfectly in line with background image and same is the true when previewed in Google Chrome and Safari.  However when previewed in Firefox or Opera, the navigation menu appears a little below the background image and leaves kind of a dent which is clearly visible.  I have not yet tried it in IE.
    I have posted this question before but didn't find any solution.

  • Spry Vert Menu - Submenu position in IE

    Hi - I've waited for a week for an answer from the Spry
    Framework discussion forum and no answer, so hope to get one here.
    I've searched through numerous posts, but none of the solutions
    seemed to work.
    The problem: Spry vertical menu, when a secondary page is
    loaded with the submenu visible, the sub moves to the top of the
    div. It won't stay aligned with it's parent menu item. I tried
    updating to Spry 1.6 and had more problems so backed up to 1.4.
    Works fine in FF, Safari.
    Sample Link: <
    http://www.vwc.com/ATC138_test/industry-construction.html>
    Thanks for any help.

    Any help out there?

  • Horizontal Menu Submenu alignment

    Problem: how to change the top alignment of a submunu list so
    that it aligns with the top of the first choice in the parent menu
    listing. ??
    Presently "top=0" in CSS puts the top edge of the child
    submenu list in line with the top line of the selected choice of
    the parent menu. What I would like to do is align the child top
    line to the top line of the first choice in the parent menu no
    matter what item in the parent menu is selected.
    The top= -20px (or a percent or whatever value) will move the
    location of the child menu up relative to the top line of the
    selected parent item, but I would like to reference the location of
    all submenu to the top line of the first listed choice of the
    parent menu. How can I do that? Is it possible?

    Thank you for your feedback.
    Basically, the SpryMenuBar is a very well thought out widget, catering for all modern browsers. The HTML is the same as for other well designed menubars, the JS ensures that the submenus work in the different browsers and the CSS is partially very similar to other menubars and partially there to service the JS.
    Having said that the SpryMenuBar is a very delicately balanced widget mainly because of the differences in browser interpretation.
    The problems arise when people not in the know, start to unbalance the menu by unwittingly changing critical parts of the CSS. Have a look here to see what I mean http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one
    For more info on what you are looking for, have a look here for auto width http://labs.adobe.com/technologies/spry/samples/menubar/AutoWidthHorizontalMenuBarSample.h tml and here for centering the menubar http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHorizontalMenuBarSample.h tml
    SpryMenuBar v2 makes it easier for newbies to style the menubar, I tend to stick to the original menu.
    If the above has not helped you with the problem, please come back here.
    Gramps

  • Spry Horizontal Menu bar - submenu position

    I'm new to spry so apologies in advance if this has been
    posted before.......
    I'm putting together a new site using the spry horizontal
    menu bar - I've managed to put together a CSS format which works
    well in both FireFox and IE7 EXCEPT for the position of the
    sub-menus below the main menu bar. IE7 seems to position the sub
    menu relative to the top right corner of the parent menu item.
    Firefox seems to position it relative to the bottom left corner -
    and I can't find a solution which works for both browsers. Any
    ideas?

    You must have fixed it in the meantime as I see no problem.
    Gramps

  • Horizontal Menu position of submenus

    I'm a novice to Dreamweaver CS3. I have the Spry Horizontal
    Menu working on my site using an include statement so it can be
    pulled into all pages. I centered the menu bar on the page and it's
    below some other elements instead of being at the top of the page.
    The problem I'm having is that the submenu's always appear at the
    top of the page. I've seen the CSS code and help info that says to
    change the following code as needed.
    ul.MenuBarHorizontal ul ul{
    position: absolute;
    margin: -5% 0 0 95%;
    I have tried changing all these values but the submenu's
    still appear at the top of the page. Can someone please help me
    with this. Thanks much!!!
    Harry

    Hi Harry,
    Did you select the entire menubar in Dreamweaver and hit the
    center button in the Property inspector? If so, that may have
    inserted some <div> tags within your menu structure that
    breaks it. If so, remove all of the <div> tags that were
    inserted, and then visit this page which explains how to center
    things:
    http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHorizontalMenuBarSample.h tml
    --== Kin ==--

  • Menu Bar SubMenu position issue

    Hi,
    I have an horizontal menu on my site which works, but I'm
    starting a new version of the site and there my submenus display in
    a weird position (in IE only) and with a transparent background.
    I read about the z-index bug, but couldn't find or understand
    the solution.
    I would appreciate if someone could have a look and help me:
    Current version with the menu bar working fine:
    http://www.thebaysoccer.com
    Test page of the new version where my problem appears:
    http://www.thebaysoccer.com/new%20tbs/test.html
    Thanks!

    Hello,
    The trouble is the fact that IE applies text-align:center to
    more things
    than just text.
    You applied it to the li CSS. This not only centers the text
    in IE, but also
    the <ul> (which are your submenus) within these
    <li>.
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 12px;
    position: relative;
    text-align: center; <********
    cursor: pointer;
    width: auto;
    float: left;
    white-space: nowrap;
    You also have it in the ul.MenuBarHorizontal style.
    So, in IE the left edge of the <ul> (submenu) is
    aligning with the center of
    the <li> it is contained in.
    That's why the sub menu drops down with the left edge at the
    middle of the
    main nav "button".
    Remove those "text-align:center" rules.
    To center your menu text, apply text-align:center to the link
    style instead,
    like so:
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #333;
    padding: 0.5em 0.75em;
    color: #EEE;
    text-decoration: none;
    text-align: center;
    As far as the submenu background, notice "fixed width" in the
    comment line
    above the following rule in the spry CSS.
    You had yours set to auto.
    Try this:
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 10em;
    background-color: transparent;
    Take care,
    Tim
    "Tilt_Paris" <[email protected]> wrote in
    message
    news:fvda4t$4pa$[email protected]..
    > Hi,
    >
    > I have an horizontal menu on my site which works, but
    I'm starting a new
    > version of the site and there my submenus display in a
    weird position (in
    > IE
    > only) and with a transparent background.
    >
    > I read about the z-index bug, but couldn't find or
    understand the
    > solution.
    >
    > I would appreciate if someone could have a look and help
    me:
    >
    > Current version with the menu bar working fine:
    >
    http://www.thebaysoccer.com
    >
    > Test page of the new version where my problem appears:
    >
    http://www.thebaysoccer.com/new%20tbs/test.html
    >
    > Thanks!
    >

  • Horizontal menu bar -- submenu display

    Hi, everyone --
    This is my first post here, and my first time using spry. I
    am trying to set up my horizontal menu bar so that the submenus
    open up horizontally -- instead of vertically -- below the parent
    menu item. (If the submenu list opens up vertically below the
    parent item it takes up too much space.)
    Any suggestions?
    Thanks so much!
    Lisa

    Found topic.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1381916&highlight_key=y

  • CS3 Fix for Spry Horizontal Menu bar/drop boxes positioning bug in IE?

    I have searched threads to see if there is an "easy" solution for the incorrect positioning of horizontal menu bar drop boxes in IE browser older versions(mine showed up at the top of the screen and mysteriously included the word "false" in older IE ONLY). Is there a downloadable patch or quick fix for this problem at this point in time? I saw an available download for a newer version of Spry but seems like overkill for this small issue. I am not an experienced web designer or computer geek, but can follow specific directions I am given. The horz bar with drop boxes showed correctly in Firefox and other browsers but not in older(?) IE. For now, I've simply removed the drop boxes to make the page look respectable, but boy did it look good with those boxes. I am hoping somebody can talk to me without lots of teckkie terms. Though I appreciate and love all of you tecs out there.

    You really should install the Spry update as it fixes some IE issues that the earlier versions of Spry had. Then use the Dreamweaver Command menu to update your Spry files within your site and you should have the latest and be ready to go. If you're still having issues you may want to also check out the Spry forum: http://forums.adobe.com/community/labs/spry
    Let us know if the update doesn't solve your particular problem.

  • Horizontal menu with horizontal submenu

    I am trying to create a horizontal menu with a submenu that is horizontal directly underneath.  So, when you hover over the items on the top menu, the list of subitems appears as a horizontal menu direclty below the the top menu.  I've been able to modfy the spry tabbed panel widget to mostly do that, but there has to be a better way. It appears that the spry menu widget for the horizontal menu just has a drop down of subitems in a vertical list below the top menu item.   I've searched but can't find the answer.  Could someone please help me out with suggestions?  Thank you.

    It would have been a lot easier to see what the problem is if you had posted a URL to your site. Now I am only guessing that you have placed an auto width on the submenu item container.
    See here for more info http://labs.adobe.com/technologies/spry/samples/menubar/AutoWidthHorizontalMenuBarSample.h tml
    The only problem with the above sample is that when you make the style rule for the submenu items, you need to include !important next to the float as follows
    ul.MenuBarHorizontal ul li {
        display: block;
       float: none !important;
        width: auto;
        white-space: nowrap;
        border-bottom: solid 1px #EEE;
    Gramps

Maybe you are looking for

  • Error while trying to retrieve text for error ORA-03113"

    We face an error saying "Error while trying to retrieve text for error ORA-03113" in our Mail trigger application. This error happens randomly This is the below error i am getting I see from the logs DBD::Oracle::st execute failed: Error while trying

  • EAS # problem with shared services

    EAS registration with Shared Services failing. The HYPERION_HOME/logs/config/configtool_err.log file shows the following error: com.hyperion.cis.config.CmsRegistrationUtil, ERROR, register operation failed in CMS: com.hyperion.interop.lib.OperationFa

  • Delete function has stopped working on Thunderbird for all files

    Windows 7 Professional operating system on my laptop. Delete function in all forms was working fine until yesterday. Have failed to work out the problem.Any ideas out there?

  • Validation for BDC program

    hi, In BDC programe I have to check (or) validate the file path at selection screen events . if the selected file is wrong error message should be triggered. how i can do this. with regards, Srinath

  • Direct material and indirect material

    please explain the what is direct material and indirect material and its different between them