Help with Horizontal Sub Menu Position

I am building a horizontal spry menu, the default is set so that the submenu displays vertically.  However, I would like the submenu to display horizontally as well, so that it is flush with the bottom of the main menu.  Does anyone know how to do this?

add this style rule to your page:
<style type="text/css">
<!--
ul.MenuBarHorizontal ul {
    width: auto;
-->
</style>
Ben

Similar Messages

  • Horizontal Spry Menu Bar with Horizontal Sub Menu

    I have created a horizontal menu bar with only one main menu item leading to a sub menu. I would like this sub menu to display horizontally also, instead of vertically as added by default.
    I am relatively new to dreamweaver and would appreciate any help possible.

    Came across the fix by accident thru extensions in menu bar,
    and choice of cursor for each section. Feeling happy! Happy New
    Year everyone.

  • Horizontal menu with horizontal sub menu using image rollovers or similar

    Hello,
    I am brand new to web design and working on my first site.  What I lack in skills, I have in free time to learn right now : ) Please let me know if there is a tutorial or other resource that describes what I am trying to do...I've been searching for days and just can't find what I'm after.
    The design concept is a menu of main categories that apear to be floating over an object.  When you hover over one, it looks like it gets pressed down in space resulting in the next line populating with subcategories to be selected.  If you click on the main elements, you would be directed to that page - Services for instance.  If you just hovered over a main category, you would be presented with a list of sub-categories that behave in the same fashion.  If you then clicked on one of the sub-categories, you would be taken to that specific page.
    Here's a sequence of images that show what I'm after.
    I built all this in Illustrator as described in a Lynda.com tutorial.  I then exported slices to dreamweaver and started building content.  Each of the categories and sub categories is a separate slice with images built for the rollovers.  I was able to build the main categories and get them to visually sink upon using an imageswap...now I'm stuck on how to get the second line to behave as I described.
    This is a fun learning experience.  Let me know if there is a better way to achieve the design.  I just stared investigating SSIs as well and see the value in having this menu in just one place, referenced into all my subsequent pages.  I have successfully embeded an SSI footer with rollovers on my page, but this menu problem is really tough for me.
    I really appreciate any pointers.
    Thanks,
    Jeff Prince

    I tried building a Spry Horizontal menu to get what I want, but I had no success there.  Any tips for that?
    On a separate note...I do not know if it is proper to use a 'tabbed panel' for my menu project, but it seems to work fine.  I have built both the top (main category) and bottom (sub category) lines of my menu using spry with .png image rollovers.
    Now I just need to find out how to make the main category button rollover stay 'down' while browsing the subcategories.  I would also like to get the subcategories to populate upon mouseover of the main category, without requiring a selection.  Now that would be slick : )  In my example above, the 'services' title should be depressed while in that submenu and look like 'landscape design'.
    One minor problem is the space created between my subcategory images.  I can't find the .css or .js that is creating that space.  I've really trimmed down all the .css and do not know where else to hunt.
    Thanks for any advice,
    Jeff

  • Horizontal sub-menu - can you help?

    I'd like to make a horizontal sub-menu appearing under a
    horiziontal root menu (rather than the usual vertical drop-down
    menu) - can this be done?
    I know I could do this type of menu using Flash but I'd
    rather not contain the navigation for the site in a .swf file - not
    very user-friendly.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Horizontal sub menu in ie, need vertical?

    Built a SpryMenuBarHorizontal with one sub menu. Works fine in all browers except ie.In ie sub menu is horizontal instead of vertical.
    Any help?
    Thanks

    I put your page through the validator:
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Foptionsclinic.net%2Ffirst_step.ht ml
    Main problem it identified was "end tag for "p" omitted."
    I looked at your page in "view source" and see this:
    <div id="headernav2">
      <p>CALL US: 817-599-6700<br />
        HOT LINE:  800-392-HELP<br />
        EMAIL US:  <a href="mailto:[email protected]">[email protected]</a><br />
        CHAT WITH US:
    I think that <p> element is not closed.
    Whether it has anything to do with your spry menu is yet to be seen.  I fix my own code in this way.  I do not understand why some things work or do not work.  My suggestion to you is add these tiny little characters in your code </p> and test it.  If it works call me a Coding deity.  If it doesn't work, remove it and post again content in the knowledge that someone, a complete stranger, was prepared to have a look at your page.
    For my part, I have a hunch that it does have something to do with your menu.  If not, it needs fixing anyway.
    Regards
    Martin

  • Help with Horizontal Menu Bar in IE

    I am having trouble with my menu bar in IE.  It works fine in Opera, Firefox, and Safari.  In IE when you hover over it it opens on the left hand side and not straight down.  I have tried many things others have suggested with no luck.  I am not very good with code and this is the first website I have worked on as part of my job (wasn't hired on as a web designer! I work on a horse farm!). Here is the link to the site www.garnercreekfarms.com. 
    Here is my JS:
    // SpryMenuBar.js - version 0.12 - Spry Pre-Release 1.6.1
    // Copyright (c) 2006. Adobe Systems Incorporated.
    // All rights reserved.
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions are met:
    //   * Redistributions of source code must retain the above copyright notice,
    //     this list of conditions and the following disclaimer.
    //   * Redistributions in binary form must reproduce the above copyright notice,
    //     this list of conditions and the following disclaimer in the documentation
    //     and/or other materials provided with the distribution.
    //   * Neither the name of Adobe Systems Incorporated nor the names of its
    //     contributors may be used to endorse or promote products derived from this
    //     software without specific prior written permission.
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    // POSSIBILITY OF SUCH DAMAGE.
    SpryMenuBar.js
    This file handles the JavaScript for Spry Menu Bar.  You should have no need
    to edit this file.  Some highlights of the MenuBar object is that timers are
    used to keep submenus from showing up until the user has hovered over the parent
    menu item for some time, as well as a timer for when they leave a submenu to keep
    showing that submenu until the timer fires.
    var Spry; if (!Spry) Spry = {}; if (!Spry.Widget) Spry.Widget = {};
    Spry.BrowserSniff = function()
    var b = navigator.appName.toString();
    var up = navigator.platform.toString();
    var ua = navigator.userAgent.toString();
    this.mozilla = this.ie = this.opera = this.safari = false;
    var re_opera = /Opera.([0-9\.]*)/i;
    var re_msie = /MSIE.([0-9\.]*)/i;
    var re_gecko = /gecko/i;
    var re_safari = /(applewebkit|safari)\/([\d\.]*)/i;
    var r = false;
    if ( (r = ua.match(re_opera))) {
    this.opera = true;
    this.version = parseFloat(r[1]);
    } else if ( (r = ua.match(re_msie))) {
    this.ie = true;
    this.version = parseFloat(r[1]);
    } else if ( (r = ua.match(re_safari))) {
    this.safari = true;
    this.version = parseFloat(r[2]);
    } else if (ua.match(re_gecko)) {
    var re_gecko_version = /rv:\s*([0-9\.]+)/i;
    r = ua.match(re_gecko_version);
    this.mozilla = true;
    this.version = parseFloat(r[1]);
    this.windows = this.mac = this.linux = false;
    this.Platform = ua.match(/windows/i) ? "windows" :
    (ua.match(/linux/i) ? "linux" :
    (ua.match(/mac/i) ? "mac" :
    ua.match(/unix/i)? "unix" : "unknown"));
    this[this.Platform] = true;
    this.v = this.version;
    if (this.safari && this.mac && this.mozilla) {
    this.mozilla = false;
    Spry.is = new Spry.BrowserSniff();
    // Constructor for Menu Bar
    // element should be an ID of an unordered list (<ul> tag)
    // preloadImage1 and preloadImage2 are images for the rollover state of a menu
    Spry.Widget.MenuBar = function(element, opts)
    this.init(element, opts);
    Spry.Widget.MenuBar.prototype.init = function(element, opts)
    this.element = this.getElement(element);
    // represents the current (sub)menu we are operating on
    this.currMenu = null;
    this.showDelay = 250;
    this.hideDelay = 600;
    if(typeof document.getElementById == 'undefined' || (navigator.vendor == 'Apple Computer, Inc.' && typeof window.XMLHttpRequest == 'undefined') || (Spry.is.ie && typeof document.uniqueID == 'undefined'))
    // bail on older unsupported browsers
    return;
    // Fix IE6 CSS images flicker
    if (Spry.is.ie && Spry.is.version < 7){
    try {
    document.execCommand("BackgroundImageCache", false, true);
    } catch(err) {}
    this.upKeyCode = Spry.Widget.MenuBar.KEY_UP;
    this.downKeyCode = Spry.Widget.MenuBar.KEY_DOWN;
    this.leftKeyCode = Spry.Widget.MenuBar.KEY_LEFT;
    this.rightKeyCode = Spry.Widget.MenuBar.KEY_RIGHT;
    this.escKeyCode = Spry.Widget.MenuBar.KEY_ESC;
    this.hoverClass = 'MenuBarItemHover';
    this.subHoverClass = 'MenuBarItemSubmenuHover';
    this.subVisibleClass ='MenuBarSubmenuVisible';
    this.hasSubClass = 'MenuBarItemSubmenu';
    this.activeClass = 'MenuBarActive';
    this.isieClass = 'MenuBarItemIE';
    this.verticalClass = 'MenuBarVertical';
    this.horizontalClass = 'MenuBarHorizontal';
    this.enableKeyboardNavigation = true;
    this.hasFocus = false;
    // load hover images now
    if(opts)
    for(var k in opts)
    if (typeof this[k] == 'undefined')
    var rollover = new Image;
    rollover.src = opts[k];
    Spry.Widget.MenuBar.setOptions(this, opts);
    // safari doesn't support tabindex
    if (Spry.is.safari)
    this.enableKeyboardNavigation = false;
    if(this.element)
    this.currMenu = this.element;
    var items = this.element.getElementsByTagName('li');
    for(var i=0; i<items.length; i++)
    if (i > 0 && this.enableKeyboardNavigation)
    items[i].getElementsByTagName('a')[0].tabIndex='-1';
    this.initialize(items[i], element);
    if(Spry.is.ie)
    this.addClassName(items[i], this.isieClass);
    items[i].style.position = "static";
    if (this.enableKeyboardNavigation)
    var self = this;
    this.addEventListener(document, 'keydown', function(e){self.keyDown(e); }, false);
    if(Spry.is.ie)
    if(this.hasClassName(this.element, this.verticalClass))
    this.element.style.position = "relative";
    var linkitems = this.element.getElementsByTagName('a');
    for(var i=0; i<linkitems.length; i++)
    linkitems[i].style.position = "relative";
    Spry.Widget.MenuBar.KEY_ESC = 27;
    Spry.Widget.MenuBar.KEY_UP = 38;
    Spry.Widget.MenuBar.KEY_DOWN = 40;
    Spry.Widget.MenuBar.KEY_LEFT = 37;
    Spry.Widget.MenuBar.KEY_RIGHT = 39;
    Spry.Widget.MenuBar.prototype.getElement = function(ele)
    if (ele && typeof ele == "string")
    return document.getElementById(ele);
    return ele;
    Spry.Widget.MenuBar.prototype.hasClassName = function(ele, className)
    if (!ele || !className || !ele.className || ele.className.search(new RegExp("\\b" + className + "\\b")) == -1)
    return false;
    return true;
    Spry.Widget.MenuBar.prototype.addClassName = function(ele, className)
    if (!ele || !className || this.hasClassName(ele, className))
    return;
    ele.className += (ele.className ? " " : "") + className;
    Spry.Widget.MenuBar.prototype.removeClassName = function(ele, className)
    if (!ele || !className || !this.hasClassName(ele, className))
    return;
    ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), "");
    // addEventListener for Menu Bar
    // attach an event to a tag without creating obtrusive HTML code
    Spry.Widget.MenuBar.prototype.addEventListener = function(element, eventType, handler, capture)
    try
    if (element.addEventListener)
    element.addEventListener(eventType, handler, capture);
    else if (element.attachEvent)
    element.attachEvent('on' + eventType, handler);
    catch (e) {}
    // createIframeLayer for Menu Bar
    // creates an IFRAME underneath a menu so that it will show above form controls and ActiveX
    Spry.Widget.MenuBar.prototype.createIframeLayer = function(menu)
    var layer = document.createElement('iframe');
    layer.tabIndex = '-1';
    layer.src = 'javascript:""';
    layer.frameBorder = '0';
    layer.scrolling = 'no';
    menu.parentNode.appendChild(layer);
    layer.style.left = menu.offsetLeft + 'px';
    layer.style.top = menu.offsetTop + 'px';
    layer.style.width = menu.offsetWidth + 'px';
    layer.style.height = menu.offsetHeight + 'px';
    // removeIframeLayer for Menu Bar
    // removes an IFRAME underneath a menu to reveal any form controls and ActiveX
    Spry.Widget.MenuBar.prototype.removeIframeLayer =  function(menu)
    var layers = ((menu == this.element) ? menu : menu.parentNode).getElementsByTagName('iframe');
    while(layers.length > 0)
    layers[0].parentNode.removeChild(layers[0]);
    // clearMenus for Menu Bar
    // root is the top level unordered list (<ul> tag)
    Spry.Widget.MenuBar.prototype.clearMenus = function(root)
    var menus = root.getElementsByTagName('ul');
    for(var i=0; i<menus.length; i++)
    this.hideSubmenu(menus[i]);
    this.removeClassName(this.element, this.activeClass);
    // bubbledTextEvent for Menu Bar
    // identify bubbled up text events in Safari so we can ignore them
    Spry.Widget.MenuBar.prototype.bubbledTextEvent = function()
    return Spry.is.safari && (event.target == event.relatedTarget.parentNode || (event.eventPhase == 3 && event.target.parentNode == event.relatedTarget));
    // showSubmenu for Menu Bar
    // set the proper CSS class on this menu to show it
    Spry.Widget.MenuBar.prototype.showSubmenu = function(menu)
    if(this.currMenu)
    this.clearMenus(this.currMenu);
    this.currMenu = null;
    if(menu)
    this.addClassName(menu, this.subVisibleClass);
    if(typeof document.all != 'undefined' && !Spry.is.opera && navigator.vendor != 'KDE')
    if(!this.hasClassName(this.element, this.horizontalClass) || menu.parentNode.parentNode != this.element)
    menu.style.top = menu.parentNode.offsetTop + 'px';
    if(Spry.is.ie && Spry.is.version < 7)
    this.createIframeLayer(menu);
    this.addClassName(this.element, this.activeClass);
    // hideSubmenu for Menu Bar
    // remove the proper CSS class on this menu to hide it
    Spry.Widget.MenuBar.prototype.hideSubmenu = function(menu)
    if(menu)
    this.removeClassName(menu, this.subVisibleClass);
    if(typeof document.all != 'undefined' && !Spry.is.opera && navigator.vendor != 'KDE')
    menu.style.top = '';
    menu.style.left = '';
    if(Spry.is.ie && Spry.is.version < 7)
    this.removeIframeLayer(menu);
    // initialize for Menu Bar
    // create event listeners for the Menu Bar widget so we can properly
    // show and hide submenus
    Spry.Widget.MenuBar.prototype.initialize = function(listitem, element)
    var opentime, closetime;
    var link = listitem.getElementsByTagName('a')[0];
    var submenus = listitem.getElementsByTagName('ul');
    var menu = (submenus.length > 0 ? submenus[0] : null);
    if(menu)
    this.addClassName(link, this.hasSubClass);
    if(!Spry.is.ie)
    // define a simple function that comes standard in IE to determine
    // if a node is within another node
    listitem.contains = function(testNode)
    // this refers to the list item
    if(testNode == null)
    return false;
    if(testNode == this)
    return true;
    else
    return this.contains(testNode.parentNode);
    // need to save this for scope further down
    var self = this;
    this.addEventListener(listitem, 'mouseover', function(e){self.mouseOver(listitem, e);}, false);
    this.addEventListener(listitem, 'mouseout', function(e){if (self.enableKeyboardNavigation) self.clearSelection(); self.mouseOut(listitem, e);}, false);
    if (this.enableKeyboardNavigation)
    this.addEventListener(link, 'blur', function(e){self.onBlur(listitem);}, false);
    this.addEventListener(link, 'focus', function(e){self.keyFocus(listitem, e);}, false);
    Spry.Widget.MenuBar.prototype.keyFocus = function (listitem, e)
    this.lastOpen = listitem.getElementsByTagName('a')[0];
    this.addClassName(this.lastOpen, listitem.getElementsByTagName('ul').length > 0 ? this.subHoverClass : this.hoverClass);
    this.hasFocus = true;
    Spry.Widget.MenuBar.prototype.onBlur = function (listitem)
    this.clearSelection(listitem);
    Spry.Widget.MenuBar.prototype.clearSelection = function(el){
    //search any intersection with the current open element
    if (!this.lastOpen)
    return;
    if (el)
    el = el.getElementsByTagName('a')[0];
    // check children
    var item = this.lastOpen;
    while (item != this.element)
    var tmp = el;
    while (tmp != this.element)
    if (tmp == item)
    return;
    try{
    tmp = tmp.parentNode;
    }catch(err){break;}
    item = item.parentNode;
    var item = this.lastOpen;
    while (item != this.element)
    this.hideSubmenu(item.parentNode);
    var link = item.getElementsByTagName('a')[0];
    this.removeClassName(link, this.hoverClass);
    this.removeClassName(link, this.subHoverClass);
    item = item.parentNode;
    this.lastOpen = false;
    Spry.Widget.MenuBar.prototype.keyDown = function (e)
    if (!this.hasFocus)
    return;
    if (!this.lastOpen)
    this.hasFocus = false;
    return;
    var e = e|| event;
    var listitem = this.lastOpen.parentNode;
    var link = this.lastOpen;
    var submenus = listitem.getElementsByTagName('ul');
    var menu = (submenus.length > 0 ? submenus[0] : null);
    var hasSubMenu = (menu) ? true : false;
    var opts = [listitem, menu, null, this.getSibling(listitem, 'previousSibling'), this.getSibling(listitem, 'nextSibling')];
    if (!opts[3])
    opts[2] = (listitem.parentNode.parentNode.nodeName.toLowerCase() == 'li')?listitem.parentNode.parentNode:null;
    var found = 0;
    switch (e.keyCode){
    case this.upKeyCode:
    found = this.getElementForKey(opts, 'y', 1);
    break;
    case this.downKeyCode:
    found = this.getElementForKey(opts, 'y', -1);
    break;
    case this.leftKeyCode:
    found = this.getElementForKey(opts, 'x', 1);
    break;
    case this.rightKeyCode:
    found = this.getElementForKey(opts, 'x', -1);
    break;
    case this.escKeyCode:
    case 9:
    this.clearSelection();
    this.hasFocus = false;
    default: return;
    switch (found)
    case 0: return;
    case 1:
    //subopts
    this.mouseOver(listitem, e);
    break;
    case 2:
    //parent
    this.mouseOut(opts[2], e);
    break;
    case 3:
    case 4:
    // left - right
    this.removeClassName(link, hasSubMenu ? this.subHoverClass : this.hoverClass);
    break;
    var link = opts[found].getElementsByTagName('a')[0];
    if (opts[found].nodeName.toLowerCase() == 'ul')
    opts[found] = opts[found].getElementsByTagName('li')[0];
    this.addClassName(link, opts[found].getElementsByTagName('ul').length > 0 ? this.subHoverClass : this.hoverClass);
    this.lastOpen = link;
    opts[found].getElementsByTagName('a')[0].focus();
            //stop further event handling by the browser
    return Spry.Widget.MenuBar.stopPropagation(e);
    Spry.Widget.MenuBar.prototype.mouseOver = function (listitem, e)
    var link = listitem.getElementsByTagName('a')[0];
    var submenus = listitem.getElementsByTagName('ul');
    var menu = (submenus.length > 0 ? submenus[0] : null);
    var hasSubMenu = (menu) ? true : false;
    if (this.enableKeyboardNavigation)
    this.clearSelection(listitem);
    if(this.bubbledTextEvent())
    // ignore bubbled text events
    return;
    if (listitem.closetime)
    clearTimeout(listitem.closetime);
    if(this.currMenu == listitem)
    this.currMenu = null;
    // move the focus too
    if (this.hasFocus)
    link.focus();
    // show menu highlighting
    this.addClassName(link, hasSubMenu ? this.subHoverClass : this.hoverClass);
    this.lastOpen = link;
    if(menu && !this.hasClassName(menu, this.subHoverClass))
    var self = this;
    listitem.opentime = window.setTimeout(function(){self.showSubmenu(menu);}, this.showDelay);
    Spry.Widget.MenuBar.prototype.mouseOut = function (listitem, e)
    var link = listitem.getElementsByTagName('a')[0];
    var submenus = listitem.getElementsByTagName('ul');
    var menu = (submenus.length > 0 ? submenus[0] : null);
    var hasSubMenu = (menu) ? true : false;
    if(this.bubbledTextEvent())
    // ignore bubbled text events
    return;
    var related = (typeof e.relatedTarget != 'undefined' ? e.relatedTarget : e.toElement);
    if(!listitem.contains(related))
    if (listitem.opentime)
    clearTimeout(listitem.opentime);
    this.currMenu = listitem;
    // remove menu highlighting
    this.removeClassName(link, hasSubMenu ? this.subHoverClass : this.hoverClass);
    if(menu)
    var self = this;
    listitem.closetime = window.setTimeout(function(){self.hideSubmenu(menu);}, this.hideDelay);
    if (this.hasFocus)
    link.blur();
    Spry.Widget.MenuBar.prototype.getSibling = function(element, sibling)
    var child = element[sibling];
    while (child && child.nodeName.toLowerCase() !='li')
    child = child[sibling];
    return child;
    Spry.Widget.MenuBar.prototype.getElementForKey = function(els, prop, dir)
    var found = 0;
    var rect = Spry.Widget.MenuBar.getPosition;
    var ref = rect(els[found]);
    var hideSubmenu = false;
    //make the subelement visible to compute the position
    if (els[1] && !this.hasClassName(els[1], this.MenuBarSubmenuVisible))
    els[1].style.visibility = 'hidden';
    this.showSubmenu(els[1]);
    hideSubmenu = true;
    var isVert = this.hasClassName(this.element, this.verticalClass);
    var hasParent = els[0].parentNode.parentNode.nodeName.toLowerCase() == 'li' ? true : false;
    for (var i = 1; i < els.length; i++){
    //when navigating on the y axis in vertical menus, ignore children and parents
    if(prop=='y' && isVert && (i==1 || i==2))
    continue;
    //when navigationg on the x axis in the FIRST LEVEL of horizontal menus, ignore children and parents
    if(prop=='x' && !isVert && !hasParent && (i==1 || i==2))
    continue;
    if (els[i])
    var tmp = rect(els[i]);
    if ( (dir * tmp[prop]) < (dir * ref[prop]))
    ref = tmp;
    found = i;
    // hide back the submenu
    if (els[1] && hideSubmenu){
    this.hideSubmenu(els[1]);
    els[1].style.visibility =  '';
    return found;
    Spry.Widget.MenuBar.camelize = function(str)
    if (str.indexOf('-') == -1){
    return str;
    var oStringList = str.split('-');
    var isFirstEntry = true;
    var camelizedString = '';
    for(var i=0; i < oStringList.length; i++)
    if(oStringList[i].length>0)
    if(isFirstEntry)
    camelizedString = oStringList[i];
    isFirstEntry = false;
    else
    var s = oStringList[i];
    camelizedString += s.charAt(0).toUpperCase() + s.substring(1);
    return camelizedString;
    Spry.Widget.MenuBar.getStyleProp = function(element, prop)
    var value;
    try
    if (element.style)
    value = element.style[Spry.Widget.MenuBar.camelize(prop)];
    if (!value)
    if (document.defaultView && document.defaultView.getComputedStyle)
    var css = document.defaultView.getComputedStyle(element, null);
    value = css ? css.getPropertyValue(prop) : null;
    else if (element.currentStyle)
    value = element.currentStyle[Spry.Widget.MenuBar.camelize(prop)];
    catch (e) {}
    return value == 'auto' ? null : value;
    Spry.Widget.MenuBar.getIntProp = function(element, prop)
    var a = parseInt(Spry.Widget.MenuBar.getStyleProp(element, prop),10);
    if (isNaN(a))
    return 0;
    return a;
    Spry.Widget.MenuBar.getPosition = function(el, doc)
    doc = doc || document;
    if (typeof(el) == 'string') {
    el = doc.getElementById(el);
    if (!el) {
    return false;
    if (el.parentNode === null || Spry.Widget.MenuBar.getStyleProp(el, 'display') == 'none') {
    //element must be visible to have a box
    return false;
    var ret = {x:0, y:0};
    var parent = null;
    var box;
    if (el.getBoundingClientRect) { // IE
    box = el.getBoundingClientRect();
    var scrollTop = doc.documentElement.scrollTop || doc.body.scrollTop;
    var scrollLeft = doc.documentElement.scrollLeft || doc.body.scrollLeft;
    ret.x = box.left + scrollLeft;
    ret.y = box.top + scrollTop;
    } else if (doc.getBoxObjectFor) { // gecko
    box = doc.getBoxObjectFor(el);
    ret.x = box.x;
    ret.y = box.y;
    } else { // safari/opera
    ret.x = el.offsetLeft;
    ret.y = el.offsetTop;
    parent = el.offsetParent;
    if (parent != el) {
    while (parent) {
    ret.x += parent.offsetLeft;
    ret.y += parent.offsetTop;
    parent = parent.offsetParent;
    // opera & (safari absolute) incorrectly account for body offsetTop
    if (Spry.is.opera || Spry.is.safari && Spry.Widget.MenuBar.getStyleProp(el, 'position') == 'absolute')
    ret.y -= doc.body.offsetTop;
    if (el.parentNode)
    parent = el.parentNode;
    else
    parent = null;
    if (parent.nodeName){
    var cas = parent.nodeName.toUpperCase();
    while (parent && cas != 'BODY' && cas != 'HTML') {
    cas = parent.nodeName.toUpperCase();
    ret.x -= parent.scrollLeft;
    ret.y -= parent.scrollTop;
    if (parent.parentNode)
    parent = parent.parentNode;
    else
    parent = null;
    return ret;
    Spry.Widget.MenuBar.stopPropagation = function(ev)
    if (ev.stopPropagation)
    ev.stopPropagation();
    else
    ev.cancelBubble = true;
    if (ev.preventDefault)
    ev.preventDefault();
    else
    ev.returnValue = false;
    Spry.Widget.MenuBar.setOptions = function(obj, optionsObj, ignoreUndefinedProps)
    if (!optionsObj)
    return;
    for (var optionName in optionsObj)
    if (ignoreUndefinedProps && optionsObj[optionName] == undefined)
    continue;
    obj[optionName] = optionsObj[optionName];
    Here is my CSS:
    @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: auto;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 70em;
    /* 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: 10em;
    float: left;
    color: #F59CB0;
    background-color: #FFF;
    /* 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
    width: 250px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 9em;
    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: 9px;
    color: #EF9CCF;
    background-color: #FFF;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 8.2em;
    /* 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: 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: #FFF;
    padding: 0.5em 0.75em;
    color: #EB91B6;
    text-decoration: none;
    text-align: center;
    /* 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: #EF93B0;
    text-align: center;
    font-size: 100%;
    /* 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: #FFF;
    color: #EF93B0;
    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%;
    color: #EF93B0;
    background-color: #FFF;
    text-align: center;
    /* 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%;
    color: #EF9CCF;
    background-color: #FFF;
    /* 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%;
    color: #EF93B0;
    background-color: #FFF;
    /* 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;
    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;
    #table2 tr .header p {
    font-family: "Apple Chancery";
    #table2 tr .header .regular2 {
    font-family: "Times New Roman", Times, serif;

    Alyssa,
    Have you tried putting this rule back as it was originally:
    /* 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; /*was 9px*/
        color: #EF9CCF;
        background-color: #FFF;
    That is, changing your 9px back to auto.
    And giving  us a link (as you did) is much better than printing out the code for us! Thanks!
    Beth

  • Help with horizontal menu

    Halo
    If someone could help, please!
    I'm having a bit of trouble with the spryHorizontal menu.  In IE (I'm using 9) the submenu's overlape the main menus. In Safari/Chrome the submenus are next to each other. And on Opera/Firefox the submenu....well do not know how to explain so here is some pics:
    This is IE9
    This is Chrome/Safari
    And this is FireFox/Opera
    Here is my SpryCss:
    @charset "UTF-8";
    LAYOUT INFORMATION: describes box model, positioning, z-order
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: auto;
    ul.MenuBarActive
    z-index: 1000;
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    float: left;
    width: auto;
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    position: absolute;
    left: -1000em;
    width: auto;
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    opacity: 0.75;
    width: auto;
    white-space: nowrap;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
    ul.MenuBarHorizontal ul li
    width: auto;
    white-space: nowrap;
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: 0 0 0 100%;
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    ul.MenuBarHorizontal ul
         -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
    border-radius: 0px 0px 10px 10px;
    margin: 0;
    background: -moz-linear-gradient(top, #18293B, #3C5676);
    background: -webkit-gradient(linear, left top, left bottom, from(#3c5670), to(#18293b));
    background: -o-linear-gradient(#3c5670, #19293b);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');
    ul.MenuBarHorizontal a
    margin: 0;
    display: block;
    cursor: pointer;
    padding: 10px;
    color: #FFF;
    text-decoration: none;
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');
    font-family: 'Muli', sans-serif;
    font-size: 10pt;
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    margin: 0;
    background-color: #18293b;
    color: #FFF;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
    border-radius: 0px 0px 10px 10px;
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #18293B;
    color: #FFF;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
    border-radius: 0px 0px 10px 10px;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    {     font: 14pt small-caps;
    font-family: 'Podkova', sans-serif;
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;
    And here is my HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Incidentia</title>
    <link href="css/reset.css" rel="stylesheet" type="text/css" />
    <link href="css/CSS.css" rel="stylesheet" type="text/css" />
    <link href="css/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href='http://fonts.googleapis.com/css?family=Muli:300,400,300italic,400italic|Podkova|Rokkitt&v2' rel='stylesheet' type='text/css'>
    </head>
    <script src="jsp/SpryMenuBar.js" type="text/javascript"></script>
        <script type="text/javascript">
    <!--
    var time = 3000;
    var numofitems = 7;
    //menu constructor
    function menu(allitems,thisitem,startstate){
      callname= "gl"+thisitem;
      divname="subglobal"+thisitem; 
      this.numberofmenuitems = 7;
      this.caller = document.getElementById(callname);
      this.thediv = document.getElementById(divname);
      this.thediv.style.visibility = startstate;
    //menu methods
    function ehandler(event,theobj){
      for (var i=1; i<= theobj.numberofmenuitems; i++){
        var shutdiv =eval( "menuitem"+i+".thediv");
        shutdiv.style.visibility="hidden";
      theobj.thediv.style.visibility="visible";
    function closesubnav(event){
      if ((event.clientY <48)||(event.clientY > 107)){
        for (var i=1; i<= numofitems; i++){
          var shutdiv =eval('menuitem'+i+'.thediv');
          shutdiv.style.visibility='hidden';
    // -->
    </script>
    <body>
    <!----------------------------------------------------------------WRAPPER-------------------------------------------------------->
    <div id="wrapper">
    <!----------------------------------------------------------------HEADER---------------------------------------------------------->
    <div id="header">
      <div id= "logo">
    </div>
                <div id="searchbox">
                <form id="searchbox" action="">
      <input id="search" type="text" placeholder="Search">
            <input id="submit" type="submit" value="Submit">
              </form>
        </div>
         </div>
    <!---------------------------------------------------------------MENUBAR--------------------------------------------------------> 
    <div id="MenuBar">         
        <ul  class="MenuBarHorizontal">
            <li><a class="MenuBarItemSubmenu" href="#">Diary</a>
            <ul>
              <li><a href="#" class="MenuBarItemSubmenu">this is long menu item</a>
               <ul>
                        <li><a href="#">this a longer longer sub menu item</a></li>
                        <li><a href="#">this a longer longer</a></li>
                        <li><a href="#">this a longer</a></li>
               </ul>
                 </li>
              <li><a href="#">this is</a></li>
              <li><a href="#">this</a></li>
            </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">Profile</a>
          <ul>
          <li><a href="#">A very short story</a></li>
              <li><a href="#">Item 1.2</a></li>
              <li><a href="#">Item 1.3</a></li>
              </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">Reports</a>
          <ul>
          <li><a href="#">Item 1.1</a></li>
              <li><a href="#">Item 1.2</a></li>
              <li><a href="#">Item 1.3</a></li>
              </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">Role</a>
              <ul>
          <li><a href="#">Item 1.1</a></li>
              <li><a href="#">Item 1.2</a></li>
              <li><a href="#">Item 1.3</a></li>
              </ul>
          </li>
              <li><a class="MenuBarItemSubmenu" href="#">Preformance</a>
          <ul>
          <li><a href="#">Item 1.1</a></li>
              <li><a href="#">Item 1.2</a></li>
              <li><a href="#">Item 1.3</a></li>
              </ul>
          </li>
            <li><a class="MenuBarItemSubmenu" href="#">Timesheet</a>
          <ul>
          <li><a href="#">Item 1.1</a></li>
              <li><a href="#">Item 1.2</a></li>
              <li><a href="#">Item 1.3</a></li>
              </ul>
          </li>
            <li><a class="MenuBarItemSubmenu" href="#">Promo</a>
          <ul>
              <li><a href="#">Item 1.1</a></li>
                  <li><a href="#">Item 1.2</a></li>
              <li><a href="#">Item 1.3</a></li>
              </ul>
          </li>
      </ul>  </div>
    <!---------------------------------------------------------------CONTENT-------------------------------------------------------->           
      <div id="content">
      </div>          
    <!---------------------------------------------------------------FOOTER-----------------------------------------------------------> 
    <div id="footer">
         <div class="footer_col">
    <h1> View Demo</h1>
            <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
    <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
    <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
    </div>
    <div class="footer_col">
    <h1>Our Clients</h1>
            <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
    <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
    <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
    </div>
    <div class="footer_col">
    <h1> Recent News</h1>
    <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
    <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
    <p> "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."</p>
    </div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar = new Spry.Widget.MenuBar("MenuBar", {imgDown:"img/SpryMenuBarDownHover.gif", imgRight:"img/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </div>
    </body>
    </html>
    Here is my css:
    @charset "utf-8";
    /* CSS Document */
    /*     font-family: 'Muli', sans-serif;
    font-family: 'Podkova', sans-serif;
    font-family: 'Rokkitt', serif;*/
    /*===========================PARAGRAPH & HEADINGS====================*/
    h1 {
         font-family: 'Podkova', sans-serif;
         font-size: 24px;
         float: left;
         color:#FFF;
         text-align: center;
    p {
         font-family: 'Muli', sans-serif;
         font-size: 10px;
         text-align: left;
         float: left;
         color: #FFF;
    /*===========================BODY====================================*/
    body {
         /* fallback */ 
           background-color: #FCF7E8;
    /* -----------------------------------------css3 code -------------------------------------------------*/
    /*--------------------------------gradient background--------------------------------*/
                                                           background: -moz-radial-gradient(50% 50%, circle, #FCF7E8, #D0B580);
              /*---mozilla--                    background: -moz-linear-gradient(#FCF7E8, #D0B580);*/
                                                           background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 1204, from(#FCF7E8), to(#D0B580));
              /*---safari/chrome--     background: -webkit-gradient(linear, left top, left bottom, from(#FCF7E8), to(#D0B580));*/
              /*---opera--*/                    background: -o-linear-gradient(#FCF7E8, #D0B580);
              /*--ie6-7--*/                    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FCF7E8', endColorstr='#D0B580');
    /*===========================WRAPPER=================================*/
    #wrapper {
         margin: auto;
         width: 960px;
         min-height: 100%;
         height: auto;
         padding-top: 10px 10px 0px 10px;
    /*===========================CONTENT=================================*/
    #content {
         min-height: 600px;
         width: 100%;
    /*===========================HEADER==================================*/
    #header {
         position: relative;
         padding: 10px;
    /*===========================LOGO====================================*/
    #logo {
         background-image: url(img/logo.png);
         background-repeat: no-repeat;
         height: 51px;
         width: 330px;
         position: relative;
         margin-bottom: 20px;
         float: left;
    /*===========================SEARCH STYLES===========================*/
    #searchbox
         float: right;
         position: relative;
    #search, #submit
         float: left;
    #search
         border: 0.5px solid #D0B580;
         font-size: 10pt;
         background-color: #FCF7E8;
         font-family: 'Muli', sans-serif;
         color: #18293B;
         height: 20px;
         width: 225px;
         padding: 1px 1px 1px 5px;
    /* -----------------------------------------css3 code -------------------------------------------------*/
    /*---------------------------------round corners----------------------------------------*/
         /*---mozilla--*/                    -moz-border-radius: 10px 0px 0px 10px;
         /*--opera+ie--*/                    border-radius: 10px 0px 0px 10px;
    /*----------------------------------------inner shadow----------------------------------*/
         /*---mozilla--*/                    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
         /*---safari/chrome--*/     -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
         /*--ie+opera--*/                    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
    #submit
         color: #FFF;
         border: solid 0.75px #18293B;
         background: #18293B;
         height: 23px;
         width: 50px;
         padding: 3px;
    /* -----------------------------------------css3 code -------------------------------------------------*/
    /*---------------------------------round corners----------------------------------------*/
         /*---mozilla--*/                    -moz-border-radius: 0px 10px 10px 0px;
         /*--ie+opera*/                    border-radius: 0px 10px 10px 0px;
         /*---safari/chrome--*/     -webkit-border-radius: 10px;
    /*--------------------------------gradient background--------------------------------*/
         /*---opera--*/                         background: -o-linear-gradient(#18293B, #3C5676);
         /*---safari/chrome--*/     background: -webkit-gradient(linear, left top, left bottom, from(#18293B), to(#3C5676));
         /*---mozilla--*/                    background: -moz-linear-gradient(top,  #18293B,  #3C5676);
         /*--ie6-7--*/                         filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');
         /*---ie8-9--*/                         -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#18293B, endColorstr='#3C5676)";
    #submit:hover
         background: #18293B;
    #submit:active
         color: #FFF;
    #submit::-moz-focus-inner
           border: 0;
             /* Small centering fix for Firefox */
    /*===========================MENUBAR=================================*/
    #MenuBar{
         height: 40px;
         position: relative;
         clear: both;
         padding-left: 10px;
    /* -----------------------------------------css3 code -------------------------------------------------*/
    /*---------------------------------round corners----------------------------------------*/
         /*---mozilla--*/                    -moz-border-radius: 10px;    
         /*--ie+opera*/                    border-radius: 10px ;
         /*---safari/chrome--*/      -webkit-border-radius: 10px;
    /*--------------------------------gradient background--------------------------------*/
         /*---mozilla--*/                    background: -moz-linear-gradient(top, #18293B, #3C5676);     
         /*---safari/chrome--*/     background: -webkit-gradient(linear, left top, left bottom, from(#3c5670), to(#18293b));     
         /*---opera--*/                         background: -o-linear-gradient(#3c5670, #19293b);
         /*---ie6-7--*/                         filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');    
         /*---ie8-9--*/                         -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#18293B, endColorstr='#3C5676)";
    /*----------------------------------------inner shadow----------------------------------*/
         /*---mozilla--*/                    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);    
         /*---safari/chrome--*/     -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
         /*---opera+ie--*/               box-shadow: 0 1px 3px rgba(0, 0, 0, 5) inset, 0 1px 0 rgba(255, 255, 255, 1);
    /*===========================FOOTER===================================*/
    #footer {
         background-color: #18293B;
         position: relative;
         height: auto;
         padding: 10px;
         /* -----------------------------------------css3 code -------------------------------------------------*/
    /*--------------------------------gradient background--------------------------------*/
         /*---mozilla--*/                    background: -moz-linear-gradient(top, #3C5676, #18293B);
         /*---safari/chrome--*/     background: -webkit-gradient(linear, left top, left bottom, from(#3C5676), to(#18293B));
         /*---opera--*/                         background: -o-linear-gradient(#3C5670, #19293B);
         /*---ie6-7--*/                         filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#18293B', endColorstr='#3C5676');
         /*---ie8-9--*/                         -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#18293B, endColorstr='#3C5676)";
    .footer_col {
         position:relative;
         float: left;
         padding: 10px 10px  0px 10px;
         width: 290px;    
    I've been pulling my hair out on this one. Any help would be great apprciated.
    (I also have some problems with my footer, but will open a new post for that later)
    Thank You
    Lize

    Hi Gramps
    Thank you for replying.
    I did try that solution previously, but gave it another go. It did not work, so I thought maybe I should try it on a dummy page. It works on FireFox/Opera/Chrome/Safari but not in IE.
    Here is the screen shots:
    And here is the Spry css:
    @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: 100%;
         cursor: default;
         width: auto;
    /* 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
         display: block;
         float: none;
         width: auto;
         white-space: nowrap;
         border-bottom: solid 1px #EEE;
    /* 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: 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: #EEE;
         padding: 0.5em 0.75em;
         color: #333;
         text-decoration: none;
    /* 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: #33C;
         color: #FFF;
    /* 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: #33C;
         color: #FFF;
    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%;
         padding: 0.5em 2em 0.5em 0.75em;
    /* 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;
         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;
    Am I missing something?
    Thanks Lize

  • Having an issue with a sub menu

    On this page
    http://www.nznutraceuticals.com/home_copy
    When you roll over product the menu is way off to the right.  I think it is picking up on the wrapper class that does the margin-left:auto; margin-right:auto; but even with messing with that it still sticks over to the right. 
    Here's what I have tried:
    Went into the container.html page and tried to put inline code to bump it over, did nothing.
    Tried margin-left:-200px; for UL stuff but messed up other items...
    Tried the options in the sub menu module to change the position, nothing...
    Tired adding
    .catsub01412941 {
        margin-left:-240px;
         left: 1px !important;
        top: 36px !important;   
    to my style sheet with no effect...
    I'm at a loss and have quite the headache now...  Any help would be appreciated.

    Try adding this in your CSS:
    .catdiv1412941
    left: 270px !important;
    You might want to take a look at the module menu V2, it outputs a cleaner structure you can style easier - http://helpx.adobe.com/business-catalyst/partner/menu-module-v2.html

  • ERROR with Horizontal Spry Menu & IE 7 ONLY!

    I created a new website with CS3 adding a horizontal Spry Menu across the top of the page.  I am having a problem with this menu in Internet Explorer 7 ONLY!  I don't have this problem with Firefox, Chrome or Safari.  I wouldn't care so much but IE is the dominant browser.  The site is: http://www.sunscapesolar.net.  The problem is that when you mouse over any of the top-level menu titles that have sub-menus below like: PRODUCTS, SYSTEMS, INCENTIVES, etc., the body text shifts down and I get a white box popping up that says "false." I've checked everything I know but since DW created the javascript code, I don't know where to go.  I have posted this problem three times and nobody has responded!  Someone has to know what's wrong!  Please help...  I don't want to create the site from scratch. . .
    Thanks in advance...
    Mike 

    fixed it myself - please ignore

  • Help with DW & FW8 nav position in vertical centred page

    I have a FW8 CSS navbar which is contained within a wrapper
    div for a horizontally and vertically centred page (table layout).
    Works ok in Firefox and looks ok in IE but when IE browser is
    resized the navbar isn't staying in place. I've changed the
    position elements but can't get the combination right. Can anyone
    help please?

    For what it's worth,
    td img {
    /* Another Mozilla/Netscape bug with making sure our images
    display
    correctly
    display: block;
    this is not a Moz bug. It's an IE one. Moz is displaying
    images according
    to the standards - it's IE that is creating your problems.
    And what you
    have done here is to bludgeon Moz into compliance by making
    an image
    something it's not.... For what it's worth.
    With regard to the FW menus, I have decided not to help
    people with them.
    I'm sorry, but since MM created them this way against the
    advice of their
    many consultants, I think they need to support their
    creation. Just look at
    that stupid mess of CSS....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mdsign" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have a FW8 CSS navbar which is contained within a
    wrapper div for a
    > horizontally and vertically centred page (table layout).
    Works ok in
    > Firefox
    > and looks ok in IE but when IE browser is resized the
    navbar isn't staying
    > in
    > place. I've changed the position elements but can't get
    the combination
    > right.
    > Can anyone help please?
    >
    > html, body, #wrapper {
    > background-color: #E8EFF7;
    > height:100%;
    > margin: 0;
    > padding: 0;
    > border: none;
    > text-align: center;
    > }
    >
    > td img {
    > /* Another Mozilla/Netscape bug with making sure our
    images display
    > correctly
    > */
    > display: block;
    > }
    >
    > #FWTableContainer841513528 {
    > /* The master div to make sure that our popup menus get
    aligned correctly.
    > Be
    > careful when playing with this one. */
    > position:relative;
    > margin:0px;
    > width:750px;
    > height:30px;
    > text-align:left;
    > }
    >
    > #MMMenuContainer0314150012_0 {
    > /* This ID is related to the master menu div for menu
    > MMMenuContainer0314150012_0 and contains the important
    positioning
    > information
    > for the menu as a whole */
    > position:relative;
    > left:188px;
    > top:30px;
    > visibility:hidden;
    > z-index:300;
    > }
    >
    > #MMMenu0314150012_0 {
    > /* This class defines things about menu
    MMMenu0314150012_0's div. */
    > position:absolute;
    > left:0px;
    > top:0px;
    > visibility:hidden;
    > background-color:transparent;
    > width:148px;
    > height:110px;
    > }
    >
    > .MMMIFVStyleMMMenu0314150012_0 {
    > /* This class determines the general characteristics of
    the menu items in
    > menu
    > MMMenu0314150012_0 */
    > width:148px;
    > height:22px;
    > voice-family: "\"}\"";
    > voice-family:inherit;
    > width:140px;
    > height:14px;
    > }
    >
    > .MMMIVStyleMMMenu0314150012_0 {
    > /* This class determines the general characteristics of
    the menu items in
    > menu
    > MMMenu0314150012_0 */
    > width:148px;
    > height:22px;
    > voice-family: "\"}\"";
    > voice-family:inherit;
    > width:140px;
    > height:14px;
    > }
    >
    > #MMMenu0314150012_0_Item_0 {
    > /* Unique ID for item 0 of menu MMMenu0314150012_0 so we
    can set its
    > position
    > */
    > left:0px;
    > top:0px;
    > }
    >
    > #MMMenu0314150012_0_Item_1 {
    > /* Unique ID for item 1 of menu MMMenu0314150012_0 so we
    can set its
    > position
    > */
    > left:0px;
    > top:22px;
    > }
    >
    > #MMMenu0314150012_0_Item_2 {
    > /* Unique ID for item 2 of menu MMMenu0314150012_0 so we
    can set its
    > position
    > */
    > left:0px;
    > top:44px;
    > }
    >
    > #MMMenu0314150012_0_Item_3 {
    > /* Unique ID for item 3 of menu MMMenu0314150012_0 so we
    can set its
    > position
    > */
    > left:0px;
    > top:66px;
    > }
    >
    > #MMMenu0314150012_0_Item_4 {
    > /* Unique ID for item 4 of menu MMMenu0314150012_0 so we
    can set its
    > position
    > */
    > left:0px;
    > top:88px;
    > }
    >
    > #MMMenuContainer0314150012_0 img {
    > /* needed for Mozilla/Camino/Netscape */
    > border:0px;
    > }
    >
    > #MMMenuContainer0314150012_0 a {
    > /* Controls the general apperance for menu
    MMMenuContainer0314150012_0's
    > items, including color and font */
    > text-decoration:none;
    > font-family:Verdana, Arial, Helvetica, sans-serif;
    > font-size:10px;
    > color:#6699cc;
    > text-align:left;
    > vertical-align:middle;
    > padding:4px;
    > background: url("mmmenu2_148x22_up.gif") #e6eef7;
    > font-weight:normal;
    > font-style:normal;
    > display:block;
    > position:absolute;
    > }
    >
    > #MMMenuContainer0314150012_0 a:hover {
    > /* Controls the mouse over effects for menu
    MMMenuContainer0314150012_0 */
    > color:#cc0000;
    > background: url("mmmenu2_148x22_over.gif") #e6eef7;
    > }
    > #MMMenuContainer0314145458_1 {
    > /* This ID is related to the master menu div for menu
    > MMMenuContainer0314145458_1 and contains the important
    positioning
    > information
    > for the menu as a whole */
    > position:absolute;
    > left:467px;
    > top:30px;
    > visibility:hidden;
    > z-index:300;
    > }
    >
    > #MMMenu0314145458_1 {
    > /* This class defines things about menu
    MMMenu0314145458_1's div. */
    > position:absolute;
    > left:0px;
    > top:0px;
    > visibility:hidden;
    > background-color:transparent;
    > width:113px;
    > height:22px;
    > }
    >
    > .MMMIFVStyleMMMenu0314145458_1 {
    > /* This class determines the general characteristics of
    the menu items in
    > menu
    > MMMenu0314145458_1 */
    > width:113px;
    > height:22px;
    > voice-family: "\"}\"";
    > voice-family:inherit;
    > width:105px;
    > height:14px;
    > }
    >
    > #MMMenu0314145458_1_Item_0 {
    > /* Unique ID for item 0 of menu MMMenu0314145458_1 so we
    can set its
    > position
    > */
    > left:0px;
    > top:0px;
    > }
    >
    > #MMMenuContainer0314145458_1 img {
    > /* needed for Mozilla/Camino/Netscape */
    > border:0px;
    > }
    >
    > #MMMenuContainer0314145458_1 a {
    > /* Controls the general apperance for menu
    MMMenuContainer0314145458_1's
    > items, including color and font */
    > text-decoration:none;
    > font-family:Verdana, Arial, Helvetica, sans-serif;
    > font-size:10px;
    > color:#6699cc;
    > text-align:left;
    > vertical-align:middle;
    > padding:4px;
    > background: url("mmmenu1_113x22_up.gif") #e6eef7;
    > font-weight:normal;
    > font-style:normal;
    > display:block;
    > position:absolute;
    > }
    >
    > #MMMenuContainer0314145458_1 a:hover {
    > /* Controls the mouse over effects for menu
    MMMenuContainer0314145458_1 */
    > color:#cc0000;
    > background: url("mmmenu1_113x22_over.gif") #e6eef7;
    > }
    >

  • Sub menu positions after IE7 hack

    I have recently solved with the help of these forums the
    position of my Spry sub menus in IE7,(very grateful indeed) but I
    cannot get the "sub sub menu" to sit any further away from it's
    parent than this in IE7 ( please view :
    www.shedloadcreative.co.uk)
    can anyone offer any guidance. The way I would like it to look can
    be viewed in Safari, Firefox etc.
    Hopefully someone out there can tell me what I'm doing
    wrong!!!
    Here is the hack if it sheds any light :
    @media screen {
    * html ul.MenuBarHorizontal ul
    position: relative;
    float: left;
    display: inline;
    margin: 0px -1000px -1000px 0px;
    * html ul.MenuBarHorizontal
    {position: static;
    *:first-child+html ul.MenuBarHorizontal ul
    position: relative;
    float: left;
    margin: 0px -1000px -1000px 100px;
    *:first-child+html ul.MenuBarHorizontal
    {position: static;

    Sorry this is the hack code I'm using:
    /* 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: #000;
    @media screen {
    * html ul.MenuBarHorizontal ul
    position: relative;
    float: left;
    display: inline;
    margin: 0px -1000px -1000px 20px;
    * html ul.MenuBarHorizontal
    {position: static;
    *:first-child+html ul.MenuBarHorizontal ul
    position: relative;
    float: left;
    margin: 0px -1000px -1000px 20px;
    *:first-child+html ul.MenuBarHorizontal
    {position: static;

  • Help with a Spry Menu Bar

    I'm having trouble with a Spry Menu Bar not displaying
    correctly in Internet Explorer, while it displays fine in every
    other browser I have available. I've done some searching on these
    boards, but the queries I've found with the same type of problem
    each has a knowledgeable person editing the code for the
    poster...and I can't seem to make heads or tails of it.
    So, below is my link. What you'll see if viewed in Explorer
    is that the "Clinics" listing and the "Services & Specialties"
    listing are each on the same horizontal line, rather than vertical
    like the rest of the menu. If anyone can help me in correcting this
    problem, I'd be very appreciative.
    Thanks in advance.
    http://www.chambershospital.com/temp/about.html

    Hello,
    You might try removing all of the <div> tags you
    inserted in the menu.
    This can happen if you select text in design view and use the
    "align" icons
    in the properties window instead of using CSS to align
    things.
    For example:
    <li>
    <div align="left"><<****REMOVE THIS
    <a href="clinics.html"
    class="MenuBarItemSubmenu">Clinics</a>
    <ul>
    <li><a href="clinic.html">Chambers
    Clinic</a></li>
    <li><a href="clinic7.html">Scenic 7
    Clinic</a></li>
    </ul>
    </div><<*** REMOVE THIS
    </li>
    So it looks like this:
    <li><a href="clinics.html"
    class="MenuBarItemSubmenu">Clinics</a>
    <ul>
    <li><a href="clinic.html">Chambers
    Clinic</a></li>
    <li><a href="clinic7.html">Scenic 7
    Clinic</a></li>
    </ul>
    </li>
    Repeat for all the other <div align="left"> and
    </div> tags in the menu.
    Take care,
    Tim
    "Zim74" <[email protected]> wrote in message
    news:fv4vc0$r0t$[email protected]..
    > I'm having trouble with a Spry Menu Bar not displaying
    correctly in
    > Internet
    > Explorer, while it displays fine in every other browser
    I have available.
    > I've
    > done some searching on these boards, but the queries
    I've found with the
    > same
    > type of problem each has a knowledgeable person editing
    the code for the
    > poster...and I can't seem to make heads or tails of it.
    >
    > So, below is my link. What you'll see if viewed in
    Explorer is that the
    > "Clinics" listing and the "Services & Specialties"
    listing are each on the
    > same
    > horizontal line, rather than vertical like the rest of
    the menu. If
    > anyone can
    > help me in correcting this problem, I'd be very
    appreciative.
    >
    > Thanks in advance.
    >
    >
    http://www.chambershospital.com/temp/about.html
    >
    >

  • Help with spry tabbed menu bar

    Hi.
    I need help with the spry tabbed menu panel (horizontal) It
    works fine in dreamweaver ( pressing f12 ) but when i goto my
    website www.so-nouveau.com it puts it all over and not in boxes
    either just the writing.
    I ahve double checked all uploading is correct and files are
    located but it wont work.
    Here is what i did >
    new> html> 1 column elastic,centered. i have not
    changed any other settings at all. Do i need to change the doc type
    or css layout in the drop down menus before starting (doc
    type=xhtnl 1.0 transitional and layout css=add to head)
    I am still on cs3 , does this matter ? or is 4 easier ?
    any help out there guys is much appreciated but please bear
    in mind that i am not a web designer or pc expert at all , this is
    just me building my own site , until nowit has been an enjoyable
    experience but grrrrrr when it dont work
    Thanks
    Jay

    so-nouveau wrote:
    > Hi.
    > I need help with the spry tabbed menu panel (horizontal)
    It works fine in
    > dreamweaver ( pressing f12 ) but when i goto my website
    www.so-nouveau.com it
    > puts it all over and not in boxes either just the
    writing.
    Please post links directly to the page having an issue. I saw
    no tabs on the home page, but I noticed that there is a link on the
    bottom of the page to this page that has a Spry tab on it:
    http://www.so-nouveau.com/test%208.html
    > I ahve double checked all uploading is correct and files
    are located but it
    > wont work.
    That page refers to a Spry JavaScript file and a Spry CSS
    file, which should be at the following locations but are not
    present:
    http://www.so-nouveau.com/SpryAssets/SpryTabbedPanels.js
    http://www.so-nouveau.com/SpryAssets/SpryTabbedPanels.css
    Make sure you upload the SpryAssests folder and see where
    you're at after that.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Horizontal Sub Menu

    I understand how to create a horizontal spry menu, but it still gives me vertical submenus.  How can I create a horizontal submenu?  I've been told that it is controlled in the "ul.menubarhorizontal ul" , but that doesn't seem to work.  There are also 2 different styles called "ul.menubarhorizontal ul" which do I use if either? Could someone help gie me some clarification please!?

    Once again, I want to thank you for your time, I greatly appreciate it.  This is a problem I just can't seem to figure out.  I inserted the code as you suggested, but Im still getting a vertically displayed submenu.  I attached a pic of a screen shot of my practice site and a pic of what I want to achieve.  Here is my current code after the changes:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
    <meta http-equiv="Content-Type" content="text/html; 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 type="text/css"> 
    <!-- 
    ul.MenuBarHorizontal ul { 
        width: auto; 
    --> 
    </style> 
    </head> 
    <body>
    <ul id="MenuBar1" class="MenuBarHorizontal">
      <li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
          <ul>
            <li><a href="#">Item 1.1</a></li>
            <li><a href="#">Item 1.2</a></li>
            <li><a href="#">Item 1.3</a></li>
          </ul>
      </li>
      <li><a href="#">Item 2</a></li>
      <li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
          <ul>
            <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
                <ul>
                  <li><a href="#">Item 3.1.1</a></li>
                  <li><a href="#">Item 3.1.2</a></li>
                </ul>
            </li>
            <li><a href="#">Item 3.2</a></li>
            <li><a href="#">Item 3.3</a></li>
          </ul>
      </li>
      <li><a href="#">Item 4</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>

  • I need help with the navigation menu please?

    I have been working my way through your six part printed instructions and I am styling the header and navigation menu.  The bullet points disappeared which was correct and the tabs moved to the right, as they should, but one tab sits underneath another tab and all tabs are covered up by my main heading.  This is dreamweaver CS6.
    It looks a bit of a mess!

    I have moved this to the main Dreamweaver forum, as the other forum is intended to deal with the Getting Started video tutorial.
    The best way to get help with layout problems is to upload the files to a website and post the URL in the forum. Someone can then look at the code, and identify the problem. Judging from your description, it sounds as though the Document window is narrow, which would result in the final menu tab dropping down to the next row. Try turning on Live view or previewing the page in a browser. Design view gives only an approximate idea of the final layout. Live view renders the page as it should look in a browser.

Maybe you are looking for

  • IPhone and iPad cannot connect via Remote to iTunes

    I updated iTunes yesterday and today none of our iPhones or iPads can see the itunes library via Remote. I've gone through the troubleshooting. The best result I got was to get the icon to reappear on remote's devices list. But it won't connect when

  • Cd-Rom Issue

    So I have this brand new Macbook Pro and a DVD gets stuck in the drive. I have tried all sorts of things with no luck. I have tried about 5 different commands in Terminal and I have rebooted and held the trackpad. It DOES make noise like its trying t

  • Dynamic interpretation in JSP

    Hi, As everybody knows, JSP is dynamicly interpretated at firts access when the JSP file is in the server. In my case, I'd like to have personalized JSP in some screens, according to the user who is accessing it. I thought about store a JSP code in t

  • Export to PDF Error in CR Viewer

    I have an intermittent problem exporting to PDF from the Crystal Reports Viewer. I'm using the Java Runtime and the report displays fine in the view. I then click the Export button, select PDF, and click Export. The view screen becomes blank with the

  • Suddenly the light is o

    Suddenly my MP3 Nano Plus is very dark. I can barely see the song playing. I tried adjusting the contrast, but it doesn't work. It looks like some of the words are jumbled together too. I just got it in November - i doubt the battery is dead..anyone