Auto Width Horizontal Menu Bar

I've browsed the forum to see if anyone else has had this
problem. I didn't find anything, so I apologize if this is a
repeat.
I'm having problems with long submenus that don't wrap. Right
now my submenus look like the second sample in the Auto Width
Horizontal Menu Bar page from Labs. I need them to look like the
last sample at the bottom of the page.
Auto
Width Horizontal Menu Bar Sample
I've tried the suggestions in this page, but when I change
the ul.MenuBarHorizontal ul width to auto, it skews my submenus and
they stretch across the page instead of down in a list. And they
still have the extra white space. Any other suggestions?
I'm sorry, I can't provide a URL, but like I said, my menus
look like the samples in the Labs document.

I have the same problem...

Similar Messages

  • Fixing a set width for horizontal menu bar

    I'm using the Spry horizontal menu bar at the top of my page and want to put it as a set width that doesn't zoom or shrink in size when someone uses this function on their screen.  At the moment, when zooming, the menu wraps to the next line.  How can I stop this?  Does anyone know how to do this please?
    Many thanks,

    You can set the width of the menuitems as a percentage, you can also set a minimum width for the menubar container (UL).
    Gramps

  • Spry Horizontal Menu Bar not working in IE

    Hi! I am new to this forum and new to Dreamweaver. I recently used Dreamweaver to build a website to display my digital portfolio. I am not very good at this and don't understand much of this works. I inserted a spry horizontal menu bar for my navigation. I did change the original set up to have the background the colors I wanted and I also changed the size so it would go across the top of my page. This looks fine in Firefox and Safari but in Internet Explorer the bar displays vertically, which does not look good. Can anyone look at my code and tell me how I can fix this problem?
    I appreciate any help I can get with this as I have tried everything I know.
    This is the link to my site: www.digitaldesignsbymargee.com

    Hi! I am new to this forum. I inserted a spry horizontal menu bar for my navigation but i cannot able veiw a horizontal menubar in IE though it works fine in google chrome and Mozila. Can anyone look at my code and tell me how I can fix this problem?
    w@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: 0px;
        padding: 0px;
        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: 0px;
        padding: 0px;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 14em;
        float: left;
        border-color: white;
        border-left-style: solid;
        border-left-width: 1px;
        border-right-style: none;
        border-right-width: 1px;
    /* 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: 14em;
        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: 14em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin: 0 0 0 99%;
    /* 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
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        padding: 0.9em 0.75em;
        color: white;
        font-size: 14px;
        font-weight: bold;
        font-family: Arial, Helvetica, Verdana, sans-serif;
        text-decoration: none;
        color: white;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        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
        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: 10px 85%;
    /* 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
        b/ackground-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 10px 85%;
    /* 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
        b/ackground-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;
            float: left;
           /* I have updated and checked the code as mentioned in the forum topic but still it is not working */
    ul.MenuBarHorizontal a:visited { color: white;}
    ul ul a { background-color: #436d9c; }
    ul a.MenuBarItemHover { background-color: #19385a; }
    ul .MenuBarItemSubmenu ul li a { border: none; }
    ul a.MenuBarItemSubmenu.MenuBarItemSubmenuHover { background-color: #19385a; }
    ul.MenuBarSubmenuVisible li { border: none; }
    I appreciate any help I can get with this as I have tried everything I know.

  • Horizontal Menu Bar - 2 issues

    Hello, I have been here asking questions before and I still
    have a couple more.
    I am using the horizontal menu bar with the spry 1.5
    pre-release files.
    LINK
    2 things, first:
    I want the submenu text to be smaller than the menu text,
    i.e. menu text should be 11px and submenu should be 10px, I just
    cant seem to rustle it out of the css to make it happen.
    ul.MenuBarHorizontal ul li
    display: block;
    float: none;
    width: auto;
    white-space: nowrap;
    font-size:10px;
    the bold addition does not seem to be working.
    Secondly:
    When this menu is viewed in IE7 it looks as if the border is
    sunken/iframe is being used, and there is the text "
    false" located inside the submenu.
    I have commented out the hacks in the css for IE to no avail.
    Wondering why the border looks so weird and the word false is being
    imposed on my submenu
    Thanks in advance

    To change the font-size, try placing the font-size property
    on the <a> element of the submenus.
    The IE7 sunken/iframe problem is a hack that is necessary to
    make the submenus appear above any native windows (Flash, Selects,
    etc) that may be in the browser window. It's showing because you
    removed the background color off of the <a> elements. Try
    making the <li> or the <a> background color white and
    it should hide the iframe.
    ul.MenuBarHorizontal ul li {
    background-color: white;
    border-bottom: solid 1px white; /* Workaround IE Gap bug */
    ul.MenuBarHorizontal ul a {
    font-size:10px;
    I also noticed that your menus were suffering from the
    infamous link in list gap IE bug. You can either remove *all*
    whitespace in your lists to get around the bug *or* use the bottom
    border property like I did above.
    --== Kin ==--

  • Horizontal Menu Bar Drop Downs Not Displaying

    I've had this problem before and here I am grappling with it again.  I have a Spry horizontal menu bar with a few drop down menus on it.  The drop downs are not displaying above the other layers on the page.  http://bakerlake50k.com/draft/index.php
    Need help.
    Jeannette

    I get dizzy when I look at your markup. Have a look at the following
    <body class="BakerLake_body_design">
    <div class="BakerLake">
      <!-- (CSSLayouts Begin)  #BakerLake #build_version=1.1.276;pack=;category=;layout=;layoutType=page;scheme=;cssSource=file;ass ets=;halign=center;minwidth=964px;maxwidth=964px;width=964px;bc=;bl=-->
      <div class='cssLO BakerLake_wrapper_layout'>
        <div class='wrapper cssLI BakerLake_wrapper_design'>
          <div class='cssLO BakerLake_row_1_layout'>
            <div class='row_1 cssLI BakerLake_row_1_design'>
              <div class='cssLO BakerLake_row_1_xtdalignwrapper_layout'>
                <div class='row_1_xtdalignwrapper cssLI BakerLake_row_1_xtdalignwrapper_design'>
                  <div class='cssLO BakerLake_row_2_layout'>
                    <div class='row_2 cssLI BakerLake_row_2_design'>
                      <!-- row_2 Content Starts Here -->
                      <p> </p>
                      <p> </p>
                      <p> </p>
                      <p> </p>
                      <p> </p>
                      <ul id='MenuBar'>
    and compare that to
    <body>
    <div id="header">
    </div>
    <div id="nav">
    </div>
    The document looks like
    <!DOCTYPE html>
    <html>
    <head>
    <title>Untitled Document</title>
    <link href="styles.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="header">
    </div>
    <div id="nav">
        The Spry Menubar goes here
    </div>
    <div id="content">
        <div class="article">
      </div>
    </div>
    </body>
    </html>
    and the stylesheet
    /* CSS Document */
    html {
        background: #ccc;
        height: 100%;
    body {
        background: #333;
        width: 1000px;
        margin: auto;
        height: 100%;
    #header {
        background: url(http://bakerlake50k.com/images/bk-header2.gif) no-repeat 30px;
        height: 233px;
    #nav {
        height: 28px;
        background: #000;
        color: #FFCC00;
        width: 900px;
        margin: -30px auto 0 auto;
    #content {
        background: #000;
        padding: 30px;
        margin-top: 15px;
        height: 100%;
    #content .article{
        width: 750px;
        float: left;
        background: #FFF;
        height: 100%;
    If you follow the proposed structure, your SpryMenuBar worries will be a thing of the past
    Gramps

  • Horizontal menu bar height and formating

    I'm trying to put a horizontal menu bar into a table cell
    that's 507px wide by 21px high. I've run into two issues.
    First, adding a Spry MenuBar to this cell causes it to grow
    by 1px in height and thus throwing off all of my graphics in other
    cells. Setting the height in ul.MenuBarHorizontal to 21px does not
    change this (20px, auto, inherit didn't change it either). I've
    tried smaller fonts. Any ideas on how to get this work?
    Second - if I don't set the height to a pixel value in
    ul.MenuBarHorizontal, my background image is only displayed behind
    the menu items. That leaves a good bit of white space. My
    background image is 1px wide by 21px high and is stretched to fill
    the full background. Setting a height will make the background
    image cover the complete cell. Is that a feature?
    thanks,
    Dan

    If I change the positioning element in ul.MenuBarHorizontal
    to absolute, my horizontal menubar fits within the cell and does
    not cause it to grow. Any other setting for positioning throws off
    the cell size and screws up my sliced graphics in other cells of
    the table. I don't understand why the menubar shifts in a fixed
    width/height cell. If it's set to static or fixed, the cell grows
    by 1px in height. If it is set to relative, it grows much
    larger.

  • Horizontal menu bar displays grey in IE - Please Help

    These are my first websites and i have created it in DW CS4. Everything is working and i have checked in multiply browsers. The one issue i can't work out is that when viewed in IE the horizontal menu bar looks grayed out. The main menu should be transparent with a white border, while submenus have a .gif image gradient background also with a white border.
    Please help, I would be very grateful and if you would ever find yourself in the Maldives i'm sure we could repay the favour.....
    Please find all the details below
    The URLs are
    http://www.noonudiversmaldives.com
    http://www.noonuislandretreat.com
    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: 8.5em;
    float: left;
    border: thin solid #CCC;
    /* 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: 8.2em;
    position: absolute;
    left: -1000em;
    border: thin solid #CCC;
    /* 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: 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;
    background-image: url(../background/Navboxes.gif);
    background-repeat: repeat-y;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    padding: 0.5em 0.75em;
    color: #CCC;
    text-decoration: none;
    text-align: center;
    border: thin solid #CCC;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    color: #FFFF33;
    font-weight: bold;
    border: thin solid #CCC;
    /* 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
    color: #FFFF33;
    border: thin solid #CCC;
    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
    color: #CCC;
    border: thin solid #CCC;
    /* 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
    border: thin solid #CCC;
    /* 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
    color: #FFFF33;
    border: thin solid #CCC;
    /* 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
    color: #CCC;
    border: thin solid #CCC;
    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-color: #999999;

    Hi,
    Before I give you the solution, please be advised that nothing goes above supplying an online URL. This helps us more than anything else. In fact, with an online URL ther is no need for further code.
    So, in your case, thank you for the URL.
    For the solution to your problem, just remove the red coloured part.
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
        display: inline;
        f\loat: left;
       background-color: #999999;
    I'll see you in the Maldives.
    Ben

  • Problem endering Spry Horizontal Menu Bar in IE7...help.

    I have created a horizontal menu bar in DW CS4 using Spry. When I view using live view, everything is working. When I test in Firefox and Nomad, everything renders as expected. I have tested the page www.ridedesigns/newsite/index.htm using IE7 on both a Windows XP and Vista platform. The problem is that the dropdown menu items fall on a layer behind the company logo (or so it appears) and are only partially visible behind that jpg.
    What have I done incorrectly, or is this a known bug?

    Here's how I changed the top of your page. Add these two divs:
    #menudiv {
        width: 868px;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 0px;
        margin-left: auto;
        text-align: center;
    #maintable {
        width: 868px;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 0px;
        margin-left: auto;
        clear: both;
    And use them this way:
    <BODY>
    <PRE> </PRE>
    <div id="menudiv">all of your menu markup here, as you have it now</div>
    <div id="maintable">
      <TABLE width="868" border="0" align="center" cellpadding="5" cellspacing="0" id="template">
        <TBODY>
          <TR valign="bottom">
            <TD height="68" colspan="5" align="left"><IMG src="./index_files/web_banner.gif" width="648" height="73" alt="Ride Designs"></TD>
          </TR>
    ...rest of table as it is now, followed by
    </div>
    In my analysis, by placing the menubar in the table, it was sinking into the universe of the table and could not rise above it with z-index. In fact, in IE, the list items in the submenus were taking on the height of the <tr> as well as falling down behind lower table rows.
    By putting both the menubar and the table into identically-positioned divs...centered by using the margin: auto; on both sides...they will sit adjacent to each other and not interfere. It did not function correctly with both menubar and table in the same div.
    Thanks for letting me dig this through you.
    Beth

  • Horizontal menu bar mac to pc

    Recently created this page:   http://musicnotes.net/MNI/SPRY.html using Dreamweaver CS3 but it does not look the same in all browsers.
    It starts out with the table width set for 100% and then hard sets the
    column widths to force the complete heading to something like 1600 pixels
    wide.  The cell widths should be allowed to set themselves.
    In IE 6.0, and probably IE 7.0, the mouse over point to change colors is a
    narrow strip between the links.  Results in white flashes as you move down.
    In IE 8.0, which is now similar to FireFox, the mouseover color changes work
    okay but the secondary panels overlap the primary column.  It's workable but
    doesn't look quite right.
    Except for being forced super wide and too big, everything seems to work
    okay in Firefox.
    Does anyone know if these issues are resolved using CS4.

    Thanks Gramps, will take a look and get sorted!
    Date: Mon, 14 Feb 2011 19:00:03 -0700
    From: [email protected]
    To: [email protected]
    Subject: I am having problems with my spry horizontal menu bar defaulting to the top of page in IE
    The structure of your document needs fixing. You will be able to get a lot of information from here http://www.adobe.com/devnet/dreamweaver/css.html
    After you have fixed the structure start with a fresh copy of SpryMenuBar. Read this before making any changes http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one
    Gramps
    >

  • Horizontal menu bar in cs5

    Im fairly new to dreamweaver, and im trying to make a horizontal menu bar with rollover images. Every tutorial I have found online tells me how to make a spry menu bar, or just a rollover image. I know how to do both now, but nobody can seem to tell me how I can customize the spry menu bar with rollover images. So can anyone help me? or is that not even possible? Thanks anyway!

    @John
    Sorry John, I did not mean real rollover images, only so called rollovers. What I have in mind is an image that changes when the state of the menu item changes as can be seen in the following
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="http://labs.adobe.com/technologies/spry/widgets/menubar/SpryMenuBarHorizontal.css" rel="stylesheet">
    <style>
    ul.MenuBarHorizontal a, ul.MenuBarHorizontal a.MenuBarItemSubmenu, ul.MenuBarHorizontal ul a.MenuBarItemSubmenu {
        background: url(menu_button.png);
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus, ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover {
        background: url(menu_button_down.png);
    </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 src="http://labs.adobe.com/technologies/spry/includes_minified/SpryMenuBar.js"></script>
    <script>
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    Although the following images do not fit the width of the menu items, they are the nest I have for this illustration.
    menu_button.png is:
    and menu_button_down.png is :
    Just copy and paste the markup into a new document and copy the images to the same directory. Then view in a browser of your choice.
    Gramps

  • Project Seven Horizontal Menu Bar

    QUESTION
    What must I do to get individual menu items to fill the width
    of a document?
    BACKGROUND
    Recently I switched from a SRPY horizontal menu bar to a
    Project Seven horizontal menu bar. After substantial manipulation
    of this latter I have achieved all of my goals except for one --
    individual menu items that expand to fill the width of the page.
    For the moment everything is crowded to the left.
    Unfortunately every tweek of which I can think to adjust the
    menu bar results in disaster. Perhaps there is a combination of
    tweeks that I must apply simultaneously that I simply do not know.
    This is a really clean page that has been validated for both
    HTML and CSS.
    The WEBPAGE
    http://homepage.mac.com/moogoonghwa/Imagine_Prototype/Contents/utility/practice.html
    Roddy

    http://www.maxdesign.com.au
    has some nice ones....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Al Sparber - PVII" <[email protected]>
    wrote in message
    news:[email protected]...
    > Hi Roddy,
    >
    > You'll need to lay out the page a bit differently so
    that the menu bar is
    > part of the main column. Since you are using Adobe CSS
    it is problematic.
    > You might want to check a few online CSS positioning
    tutorials for some
    > better approaches to doing a 2-column flexible layout.
    >
    > --
    > Al Sparber - PVII
    >
    http://www.projectseven.com
    > The Finest Dreamweaver Menus | Galleries | Widgets
    >
    http://www.projectseven.com/go/pop
    > The Ultimate DW Menu System
    >
    >
    >
    >
    > "kiusau" <[email protected]> wrote in
    message
    > news:[email protected]...
    >>
    quote:
    Since your layout is flexible rather than fixed-width, the
    only way to
    >> get
    >> those links to stretch so that they
    >> fill the available would be to assign a percentage
    width to each root
    >>
    >> element.
    >>
    >> The following adjustments fail:
    >>
    >>
    CSS CODE
    >>
    >> #p7menubar li {
    >> float: left;
    >> width: 17%;
    >> }
    >> #p7menubar #previous li {
    >> float: left;
    >> width: 16%;
    >> }
    >> #p7menubar #next li {
    >> float: left;
    >> width: 16%;
    >> }
    >>
    >>
    HTML CODE
    >>
    >> <div id="menuwrapper">
    >> <ul id="p7menubar">
    >>
    >> <li id="preview"><a
    href="#">Previous</a></li>
    >> <li id="view"><a href=""
    >>
    onclick="openFunctionalityWindow()">Viewing</a></li>
    >>
    >> <li id="copyright"><a class="trigger"
    href="#">Copyright</a>
    >>
    >>
    <a href="#">Author</a></li>
    >>
    <a href="#"
    >>
    onclick="openCitationWindow()">Citation</a></li>
    >>
    <a href="#">Plagiarism</a></li>
    >>
    <a href="#">Sources</a></li>
    >>
    >> </li>
    >>
    >> <li id="print"><a class="trigger"
    href="#">Print</a>
    >>
    >>
    <a href="#" onclick="printPage()">This
    Page</a></li>
    >>
    <a href="#">Entire Document</a></li>
    >>
    >> </li>
    >>
    >> <li id="contact"><a
    href="mailto:[email protected]">Contact</a></li>
    >>
    >> <li id="next"><a
    href="#">Next</a></li>
    >>
    >>
    >> <br class="clearit" />
    >> </div>
    >>
    >>
    A POTENTIAL SOURCE OF CONFLICT?
    >>
    >> Please look at the unadjusted page again and notice
    (visually it is
    >> impossible) that the <div> tag containing the
    menu bar extends across the
    >> entire width of the page including that portion
    contained by the sidebar.
    >> I am
    >> guessing that your suggested adjustments might work,
    if the menu bar
    >> could be
    >> made to begin after the sidebar. The current
    <div> structure is
    >>
    >> <div id="sidebar1"></div>
    >> <div id="menuwrapper"></div>
    >> <div id="maincontent"></div>
    >>
    >>
    WEBPAGE
    >>
    >>
    >>
    http://homepage.mac.com/moogoonghwa/Imagine_Prototype/Contents/utility/practice.
    >> html
    >>
    >> Roddy
    >>
    >

  • Horizontal Menu Bar Help Needed

    Hi there, I am somewhat new to web design but I've been helping a friend update his business's page recently.  We use Dreamweaver CS3 and our hosting is thru GoDaddy. 
    My problem appears when I try to insert a horizontal menu bar (Insert>Spry>Menu bar) so that a dropdown menu will appear when I hover over an option, much like the top menu on the GoDaddy homepage, among others.  It works correctly when I preview my page in a browser from Dreamweaver, (Firefox, IE) but when I actually upload my page to the GoDaddy servers and view it, it shows up not as a bar with hidden options, but as a long unformatted vertical list. 
    The site in question is here: http://www.notyouraveragebookkeeper.com/indextabs
    I thought it might be a problem with CSS, but I made sure that all of the style sheets are properly uploaded to the servers, and I made sure that my browser accepted any Javascript applets.  I've also tried it with my Dreamweaver CS5 trial.  Like I said, I am an amateur in every sense of the word and I'm still learning technical terms for things so some of my jargon may be a bit flawed.  I have done a good bit of online research in forums and otherwise, and I've tried solutions that have been given to similar problems. Maybe someone could view the source code and find out where I've gone wrong, or suggest tips to identify problems in Dreamweaver. I feel like the problem lies within the Spry framework, but I have very little knowledge on how it works or what it does.
    Any assistance in this regard would be extremely helpful and appreciated.

    Neither SpryMenuBar.js and SpryMenuBarHorizontal.css can be found by your online site.
    Possibly these have not been uploaded or uploaded to a wrong location.
    Gramps

  • Horizontal menu bar appears vertical after upload

    Hi,
    I am new using Dreamweaver CS4 and have encontered a problem. I have made a nice looking (I think so) horizontal menu bar on my web project and it works/looks fine in the "LIve View" of DW. However on the web page after upload it looks like this:
    http://www.competenciagroup.com/ColombiaTravel/index.html#
    It has changed from horizontal to vertical and all formats are gone. Anybody have a clue?
    Thanks in advance,
    Ivan

    The Spry stylesheet cannot be found.
    The Spry CSS should be:
    http://www.competenciagroup.com/SpryAssets/SpryMenuBarHorizontal.css
    In your local working folder on your computer, is the Spry folder inside the working folder, or is it outside of that folder.  The Spry Assets folder should be inside the folder where all your other html/image files are.  The link in your html pages, shows that the Spry folder goes one level deeper than that.
    The paths to both the spry css and the spry js file are wrong, you need to fix that and then upload the files again.
    Hopefully you are working within a Defined Dreamweaver site - this is a very important first step before working on your site.
    Define a site:
    http://kb2.adobe.com/cps/140/tn_14028.html
    Via the File Panels window, move the spry folder into your working folder  *do not do it via windows explorer* it has to be done through Dreamweaver so that DW can correctly the file links.  If everything goes correctly, you should be asked whether you want to update any links, so yes.. and hopefully the links will be corrected.
    Usually the link should look like this if the Spry folder is inside your working folder structure:
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    Your link however shows as:
    <link href="../../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    This means that the browser is trying to find the files one level down from where you website files are stored on the server.. and it's not there.

  • 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

  • Horizontal menu bar moves between different pages

    Hello,
    I have all of the page properties to the same values; however I am noticing the horizontal menu bar at different levels when I load my pages.  The website is AbileneDentist.com.
    Any idea on what could be causing this to occur?
    Thanks,
    Mark

    Hi,
    I believe, the vertical scroll bar is causing the objects to move.
    To resolve this, you may add a scroll bar to all the pages. To achieve the same:
    From the File menu in Muse, select Site Properties. Set the visibility for the Vertical Browser Scroll bars, to Always.
    Hope it helps,
    Sonam

Maybe you are looking for