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.

Similar Messages

  • Horizontal menu bar - increase the height and center the vertical treat position.

    I am using SpryMenuBarHorizontal.css and want to increase the height of a horizontal menu bar 20 28px and have the menu names move to be centered vertically, rather than be aligned at the top.
    Can anyone help me figure out how to do this?

    In the following adjust the highlighted value to suit
    ul.MenuBarHorizontal a {
        padding: 0.5em 0.75em;
    Gramps

  • Horizontal Menu Bar not formatting correctly in IE

    I am trying to get my menu bar to properly format in IE. It
    works fine in Opera, Firefox, and Safari. What I am having problems
    with is with how the sub menus pop up. In IE they show up above the
    menu bar instead of below the menu bar. Any help would be
    appreciated. My web page is www.artsbeercans.com Thanks!

    OK, I went ahead and posted it live, even though it's not how I want it.
    I think if I could make the horizontal menu boxes smaller, they could
    all fit across - is there anyway to make each box fit the word that's
    in it, instead of them all being 160 px?  That might make room for
    them all to fit across.....
    Because can you see that the "Other" is now on the second row, and
    pushes over the vertical menu box?
    www.itsaboutourkids.org
    thanks!!

  • Horizontal menu bar shows serif type font in Live View and Preview but sans serif is in css file

    Help I am using the Spry horizontal menu bar and while it is working fine, it is showing a serif font in Live View and in all Browsers even though I have selected a sans serif font. What gives? I have attached the SpryMenuBarHorizontal.css

    Add this to your embedded styles:
    body {
        background-color: #999;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    using, of course, the font list you want.
    All those styles that rely on the 'default' font will now default to the Trebuchet font list (or to your chosen list).
    Beth

  • *Help* Spry Horizontal Menu Bar wont show and cant seem to center it with rest of content

    Hey,
    I am a newbie to Dreamweaver and was wondering if someone can
    help me with the Spry Horizontal Menu Bar....
    http://www.djdanmatthews.net
    1) After moving mouse over diffrent areas of Spry menu bar
    the text seems to disapear or not show up?
    2) I can't seem to center content of Spry menu bar with rest
    of website?
    3) How do I ad a image (where also can I get it) to the Spry
    menu bar so it looks more professional &3d?
    Thanks so much,
    Dan

    *Bump

  • Spry horizontal menu bar and accordion panels not working when published

    Hi,
    I'm a newbie to Dreamweaver and have been asked to design an intranet site. On the site, I added both Spry widgets for a horizontal menu bar and an accordion panel. Both of these widgets work in preview, however, neither work when I publish. I uploaded the Spry asset folder (with all the CSS and JS files) to the remote server, but still no luck. What am I missing?
    Thanks.

    Despite of what you have staed, my bet is on the fact that the SpryAssets folder and/or the included files are not being found by your page..
    Open the site in FF, click on view Source and in the source code click the link to the JS file. If it can be found, it will show the content of the file and you will have the satisfaction of knowing that the page can find the file.
    If it does not show the content, you need to correct that.
    Good luck.
    Ben

  • 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 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

  • 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

  • Spry Horizontal Menu bar - submenu position

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

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

  • 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 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 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 -- 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 - 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 ==--

Maybe you are looking for

  • Error while loading shared libraries: libstdc++.so.5: cannot open shared ob

    Hi people, I want to launch ./sapinst on suse O.S, but I´ve found with this message error: error while loading shared libraries: libstdc++.so.5: cannot open shared object file I´ve trying to search in notes, but i dont know how to resolv this. In the

  • Copying large number of files with Finder

    When you copy lots of files and folders with Finder, it appears to count up the number of "items" and then start copying and at the same time the number of items remaining gets smaller and smaller as the copy process proceeds. My question is what are

  • Leopard crashes on MacBook Pro but Tiger works

    Hello Forum, Everytime I try to upgrade from Tiger to Leopard the MacBook Pro crashes at the installation process (sometimes at the beginning, sometimes in the middle of it). I tried different versions of Leopard DVDs (5.1, 5.4, 5.6) but all the same

  • Travel workflow problems.

    I apologize in advance for the length of this question. When I travel, I carry a MB Air with OS X 10.9.1 and Aperture 3.5.1. I create managed Libraries on a 500GB EHD (or two). I will certainly do some deleting and minimal editing. When I get home I

  • Can't compile with Javac in jdk 1.2.1

    Hi all, I used javac to compile "helloworld.java" in jdk 1.2.1 but It didn't "helloworld.class" file and it also didn't alert. my system platform Is:Windows 2000 server Jdk:1.2.1 anyone help me to resolve my problem. thanks a lot anhnt