Horizontal menu pushes main content downwards

I created a website for my nonprofit with a spry horizontal menu inside the header.  I then created submenus for several of the tabs.  On one of the pages the submenus drop down into the main content space.  On all of the other pages, the submenus inexplicably push the main content downwards - as though they are expanding the header.  I have set the vertical size of the header in all cases at 175 pixels.  All of the spry menus use the same global style sheet and I've gone through them line by line and see no differences. The wrappers are the same when I click on the header.  Do you have any idea why a spry submenu might be pushing the header (that it is inside) downwards rather than just overlapping the main page the way most subheaders do?
Thank you so much!

Hiya, Karin,
Nice to hear back from you.
Without getting into the mishigas (don't know how to spell that...don't actually speak Yiddish)... of the templates, etc., here are a couple of fixes for the Events page (and any others you worked on the same way):
There's a line up in the head (at least in my copy of your page) that looks like this: <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> You can take that out, I would comment it out at least, like this: <!-- <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> -->
When you save the page, you should be getting a javascript error...a widget has been removed from the page, etc., etc....when I got the error, it took me to this code in the page, which should also be removed (notice that I commented it out). Leaving javascript in a page when the widget itself has been removed leads to errors (!):
<!--var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgRight:"../SUDAN/SpryAssets/SpryMenuBarRightHover.gif"});-->
The thing that is pushing your submenus into your content (in Internet Explorer) is the lack of 'hacks' to make it work correctly in IE browsers. So, copy this code as is to the bottom of your SpryMenuBarHorizontal.css stylesheet:
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;
By putting them at the bottom of your stylesheet, they will correct and override any styles that they need to fix...
Regarding your trials and tribulations with templates (ttttt), I heartily sympathize. I actually love templates, myself, but it took a while to 'get into' them. Once you have them set up they're fine, but getting to know them well takes a little work. There are those on the Forums who believe in using Server-Side Includes, but I have not used them, and the non-profits I design for usually are not on servers that support PHP or SSI. So I have gotten to know templates reasonably well.
It's too bad you have a hybrid running now of templated and untemplated pages; a templated site is ultimately much easier to maintain. But I trust you will get back to it. The difficulties you describe were probably not due to the templates, but to the lack of IE hacks (see code above that you will restore to the stylesheet).
Please let me know if these measures work! I will send you a private message in addition to this response.
Best wishes,
Beth Marshall

Similar Messages

  • Horizontal Spry Menu Pushing my content to the right

    Hello everyone. I am very new to Dreamweaver and so far I am loving the ease of use and how much I can do with it. However, I recently tried adding a spry menu bar - horizontally, but it has pushed my content to the right of the page. The web page is www.iowapva.org
    Any help on getting this squared away is greatly appreciated. I want to learn so if there is something wrong that needs corrected or have advise on correcting the site, I am open.
    Thanks,
    Brad

    Add or modify the following
    #page {
        clear: both;
    ul.MenuBarHorizontal ul {
        position: absolute;
    Personally I would add these to just above the </head> tag as in
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <style>
    #page {
        clear: both;
    ul.MenuBarHorizontal ul {
        position: absolute;
    </style>
    </head>

  • Header and footer must be static and main content must be dynamic

    Hello, i need to design a webpage such that
    1. Header and footer has some menus and when i click on menu, only main content should change.
    For example, if i have a gif image in header, it should not be reloaded everytime when i click on menu or submenu.
    I hope you understand my problem. I have header and footer and only content inside should change but not header and footer.
    header and footer must not reload everytime when i click any url or menu item.

    One of the way is using <FRAME> or <IFRAME> elements. Another modern way (probably recommended) is based on partial page updates with
    UpdatePanel control:
    https://msdn.microsoft.com/en-us/library/bb399001(v=vs.140).aspx. The
    http://www.asp.net/ site is a good place to find details.

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

  • Nube needs help inserting a JQuery horizontal menu bar into my site-help.

    Please forgive the ignorance of my questions but I am new to Mobile site design and Dreamweaver.
    I am trying to build a responsive web site for my company that can be viewed on multiple platforms, but am having trouble inserting a responsive menu and responsive slide show.
    This post is in regard to the  menu bar, which I have created using JQuery on a seperate page. I have managed to get the layout to work but still can't figure out how to create mouse overs for the links
    or how to insert it into my site. 
    Please help.
    Why can't I see the nav bar in the site when I paste in?
    All I see is the text and no images. I know I am pasting the code in the wrong place.
    Where do I insert it?
    Below is the code for the site and below that is the code for the menu bar.
    Where do I insert it? Help.
    Thank you in advance for any help you can provide.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <!--<![endif]-->
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Untitled Document</title>
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="css/master.css" rel="stylesheet" type="text/css">
    <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="respond.min.js"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="LayoutDiv1">
        <div align="center"><img src="images/Site Objects/headermain.png" alt="header"></div>
      </div>
      <div id="navbar">ul#navlist { font-family: <span class="navfont">sans-serif</span>; }
    ul#navlist a
    font-weight: bold;
    text-decoration: none;
    ul#navlist, ul#navlist ul, ul#navlist li
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    ul#navlist li { float: left; }
    ul#navlist li a
    color: #ffffff;
    background-color: #<span class="navmainbg">003366</span>;
    padding: 3px;
    border: 1px #ffffff outset;
    ul#navlist li a:hover
    color: #ffff00;
    background-color: #<span class="submenubg">003366</span>;
    ul#navlist li a:active
    color: #cccccc;
    background-color: #003366;
    border: 1px #ffffff inset;
    ul#subnavlist { display: none; }
    ul#subnavlist li { float: none; }
    ul#subnavlist li a
    padding: 0px;
    margin: 0px;
    ul#navlist li:hover ul#subnavlist
    display: block;
    position: absolute;
    font-size: 8pt;
    padding-top: 5px;
    ul#navlist li:hover ul#subnavlist li a
    display: block;
    width: 10em;
    border: none;
    padding: 2px;
    ul#navlist li:hover ul#subnavlist li a:before { content: " >> "; }
    Read more: How to Make a Rollover Drop-Down Menu | eHow http://www.ehow.com/how_8569816_make-rollover-dropdown-menu.html#ixzz2WZQ3IDmU</div>
      <div id="slideshow">
      <div id="slideshow">
        <div align="center">
          <!-- Begin DWUser_EasyRotator -->
    <script type="text/javascript" src="http://c520866.r66.cf2.rackcdn.com/1/js/easy_rotator.min.js"></script>
    <div class="dwuserEasyRotator" style="width: 1225px; height: 400px; position:relative; text-align: left;" data-erConfig="{autoplayEnabled:true, randomize:true, autoplayDelay:3000, autoplayStopOnInteraction:false, autoplayPauseOnHover:false, audio_controllerLocation:'br', lpp:'102-105-108-101-58-47-47-47-85-115-101-114-115-47-77-97-99-50-47-68-111-99-117-109-1 01-110-116-115-47-69-97-115-121-82-111-116-97-116-111-114-80-114-101-118-105-101-119-47-11 2-114-101-118-105-101-119-95-115-119-102-115-47', wv:1}" data-erName="slideshow rotator" data-erTID="{hg3ysjwkx61418058007631}">
              <div data-ertype="content" style="display: none;"><ul data-erlabel=>
              <li>
                        <img class="main" src="_images/Site Objects/fades how/lrg_images/image09-turn.png" />
                        <img class="thumb" src="_images/Site Objects/fadess how/lrg_images/image09-turn.png" />
              </li>
              <li>
                        <img class="main" src="_images/Site Objects/fades how/lrg_images/image08-ss.png" />
                        <img class="thumb" src="_images/Site Objects/slides how/lrg_images/image08-ss.png" />
              </li>
              <li>
                        <img class="main" src="_images/Site Objects/slides how/lrg_images/image07-posters.png" />
                        <img class="thumb" src="_images/Site Objects/slides how/lrg_images/image07-posters.png" />
              </li>
              <li>
                        <img class="main" src="_images/Site Objects/slides how/lrg_images/image06-photo_ed.png" />
                        <img class="thumb" src="_images/Site Objects/slides how/lrg_images/image06-photo_ed.png" />
              </li>
              <li>
                        <img class="main" src="_images/Site Objects/slides how/lrg_images/image05-nwsmag.png" />
                        <img class="thumb" src="_images/Site Objects/slides how/lrg_images/image05-nwsmag.png" />
              </li>
              <li>
                        <img class="main" src="_images/Site Objects/slides how/lrg_images/image04-litigation.png" />
                        <img class="thumb" src="_images/Site Objects/slides how/lrg_images/image04-litigation.png" />
              </li>
              <li>
                        <img class="main" src="_images/Site Objects/slides how/lrg_images/image03-creative.png" />
                        <img class="thumb" src="_images/Site Objects/slides how/lrg_images/image03-creative.png" />
              </li>
              <li>
                        <img class="main" src="_images/Site Objects/slides how/lrg_images/image02-corp.png" />
                        <img class="thumb" src="_images/Site Objects/slides how/lrg_images/image02-corp.png" />
              </li>
              <li>
                        <img class="main" src="_images/Site Objects/slides how/lrg_images/image01-bound.png" />
                        <img class="thumb" src="_images/Site Objects/slides how/lrg_images/image01-bound.png" />
              </li>
    </ul>
    </div>
              <div data-ertype="layout" data-ertemplateName="NONE" style="">                              <div class="erdots" style="overflow: hidden; margin: 0; position:absolute;right:0;top:9px;width:300px; font-size: 10px; font-family: 'Lucida Grande', 'Lucida Sans', Arial, _sans; color: #FFF;" data-erConfig="{showText:false}" align="center">
                                            <div class="erdots_wrap" style="wasbackground-color: #CFC; float: right;" align="left"> <!-- modify the float on this element to make left/right/none=center aligned. -->
                                                      <span class="erdots_btn_selected" style="padding-left: 0; width: 20px; height: 20px; display: inline-block; text-align: center; vertical-align: middle; line-height: 20px; margin: 0 0 0 5px; cursor: default; background: url(http://easyrotator.s3.amazonaws.com/1/i/rotator/dots/export/20_14_black_65.png) top left no-repeat;">
                                                      </span>
                                                      <span class="erdots_btn_normal" style="padding-left: 0; width: 20px; height: 20px; display: inline-block; text-align: center; vertical-align: middle; line-height: 20px; margin: 0 0 0 5px; cursor: pointer; background: url(http://easyrotator.s3.amazonaws.com/1/i/rotator/dots/export/20_14_black_35.png) top left no-repeat;">
                                                      </span>
                                                      <span class="erdots_btn_hover" style="padding-left: 0; width: 20px; height: 20px; display: inline-block; text-align: center; vertical-align: middle; line-height: 20px; margin: 0 0 0 5px; cursor: pointer; background: url(http://easyrotator.s3.amazonaws.com/1/i/rotator/dots/export/20_14_black_65.png) top left no-repeat;">
                                                      </span>
                                            </div>
                                  </div>
                                  <div class="ercats erFixCSS3" style="position:absolute; left:0; right: 320px; top: 0;" style_real="padding: 4px 8px; font-family: 'Lucida Grande', 'Lucida Sans', Helvetica, Arial, _sans; font-size: 11px; color: #333; wasmargin: 0 50px 10px 50px; wasborder-radius: 6px; wasbackground-color: #EEE; wasborder: 1px solid #E0E0E0; overflow: hidden;">
                                            <div align="center">
                                              <!-- <div style="float: left; padding: 6px 18px 3px 0; font-weight: bold;">Title text!</div> -->
                                    </div>
                                            <div class="ercats_btn_selected erFixCSS3" style_real="float: left; padding: 3px 8px 4px 8px; border-radius: 4px; background-color: #FFF; box-shadow: 0 0 2px #999; wasborder: 1px solid #CFCFCF; color: #555; margin: 3px 9px 3px 0; cursor: default;">
                                              <div align="center">Title1 </div>
                                      </div>
                                            <div class="ercats_btn_normal erFixCSS3" style_real="float: left; padding: 3px 8px 4px 8px; border-radius: 4px; color: #666; cursor: pointer; margin: 3px 9px 3px 0;">
                                              <div align="center">Title2 </div>
                                            </div>
                                  </div>
                                  <div class="erimgMain" style="position: absolute; left:0; right:0; top:40px; bottom:0;" data-erConfig="{___numTiles:3, scaleMode:'fillArea', imgType:'main', __loopNextButton:false, arrowButtonMode:'rollover'}">
                                            <div class="erimgMain_slides" style="position: absolute; left:0; top:0; bottom:0; right:0;">
                                                      <div class="erimgMain_slide">
                                                                <div class="erimgMain_img" style="position: absolute; left: 0; right: 0; top: 0; bottom: 0;"></div>
                                                      </div>
                                    </div>
                                            <div class="erimgMain_arrowLeft" style="position:absolute; left: 10px; top: 50%; margin-top: -30px;" data-erConfig="{image:'circleBig', image2:'circleBig'}"></div>
                                            <div class="erimgMain_arrowRight" style="position:absolute; right: 10px; top: 50%; margin-top: -30px;" data-erConfig="{image:'circleBig', image2:'circleBig'}"></div>
                        </div><div class="erabout erFixCSS3" style="color: #FFF; text-align: left; background: #000; background:rgba(0,0,0,0.93); border: 2px solid #FFF; padding: 20px; font: normal 11px/14px Verdana,_sans; width: 300px; border-radius: 10px; display:none;">
                                  This <a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/" target="_blank">jQuery slider</a> was created with the free <a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/" target="_blank">EasyRotator</a> software from DWUser.com.
                                  <br /><br />
                Use WordPress? The free <a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/wordpress/" target="_blank">EasyRotator for WordPress</a> plugin lets you create beautiful <a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/wordpress/" target="_blank">WordPress sliders</a> in seconds.
                                  <br /><br />
                                  <a style="color:#FFF;" href="#" class="erabout_ok">OK</a>  
                        </div>
                        <noscript>
                                  Rotator powered by <a href="http://www.dwuser.com/easyrotator/">EasyRotator</a>, a free and easy jQuery slider builder from DWUser.com.  Please enable JavaScript to view.
                        </noscript>
                        <script type="text/javascript">/*Avoid IE gzip bug*/(function(b,c,d){try{if(!b[d]){b[d]="temp";var a=c.createElement("script");a.type="text/javascript";a.src="http://easyrotator.s3.amazonaws.com/1/js/nozip/easy_rotator.min.js";c.getElementsByTagName("head")[0].appendChild(a)}}catch(e){alert("EasyRotator fail; contact support.")}})(window,document,"er_$144");</script>
              </div>
    </div>
    <!-- End DWUser_EasyRotator -->
          <script type="text/javascript" src="http://c520866.r66.cf2.rackcdn.com/1/js/easy_rotator.min.js"></script>
        </div>
    <!-- End DWUser_EasyRotator --></div>
      </div>
      <div id="body">
        <div align="center"><img src="images/page templates/home pg tmplt blnk.png" alt="body"></div>
      </div>
      <div id="footer">
        <div align="center"><img src="images/Site Objects/footermainbck.png" alt="footer"></div>
      </div> 
    </div>
    </body>
    </html>
    Below is the code for the JQuery menu with sub and secondary sub menus:
    <!DOCTYPE html><!--[if IE 7]>
    <html lang="en" class="ie7 oldie"></html><![endif]--><!--[if IE 8]>
    <html lang="en" class="ie8 oldie"></html><![endif]-->
    <!-- [if gt IE 8] <!-->
    <html lang="en">
      <!-- <![endif]-->
      <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>FlexNav - Flexible, Device Agnostic Navigation</title>
        <link href="css/flexnav.css" media="screen, projection" rel="stylesheet" type="text/css">
        <link href="css/page.css" media="screen, projection" rel="stylesheet" type="text/css">
        <style type="text/css">
        body,td,th {
              font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
              font-size: 14pt;
        body {
              background-color: #FFF;
        a:link {
              color: #FFFFFF;
              text-decoration: none;
    a:visited {
              color: #FFF;
              text-decoration: none;
        a:hover {
              color: #F00;
              text-decoration: none;
    a:active {
              color: #900;
              text-decoration: none;
        </style>
        <script type="text/javascript" src="//use.typekit.net/qyb8ood.js"></script>
        <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
      </head>
      <body bgcolor="#FFFFFF" vlink="#FF0000" alink="#990000" class="home-page">
      <script src="http://code.jquery.com/jquery-1.9.0.js" type="text/javascript"></script>
      <script src="js/jquery.flexnav.min.js" type="text/javascript"></script>
        <div class="container">
          <header id="site-header">
            <div class="menu-button">Menu</div>
            <nav>
              <ul data-breakpoint="800" class="flexnav">
                <li><a href="HOME">HOME</a>
                <li><a href="About Us">ABOUT US</a>
                <li><a href="Products">PRODUCTS</a>
                  <ul>
                    <li><a href="Bound Products">Bound Products</a>
                      <ul>
                        <li><a href="Booklets">Booklets</a></li>
                        <li><a href="Catalogs & Magazines">Catalogs & Magazines</a></li>
                        <li><a href="Newsletters">Newsletters</a></li>
                        <li><a href="Presentation Books">Presentation Books</a></li>
                        <li><a href="Manuals">Manuals</a></li>
                      </ul>
                    </li>
                  <li><a href="Brochures">Brochures</a></li>
                    <li><a href="Business Cards">Business Cards</a></li>
                    <li><a href="CD & DVD Dupe">CD & DVD Duplication</a></li>
                    <li><a href="Copies">Copies</a></li>
                    <li><a href="Corp. ID">Corporate ID</a></li>
                    <li><a href="Flyers">Flyers</a></li>
                    <li><a href="Forms">Forms</a></li>
                    <li><a href="Menus">Menus</a></li>
                    <li><a href="Photo Collages">Photo Collages</a></li>
                    <li><a href="Photo Enlargements">Photo Enlargements</a></li>
                    <li><a href="Postcards">Postcards</a></li>
                    <li><a href="Rack Cards">Rack Cards</a></li>
                    <li><a href="Wide Format">Wide Format</a>
                      <ul>
                        <li><a href="Banners">Banners</a></li>
                        <li><a href="Posters">Posters</a></li>
                        <li><a href="Signs">Signs</a></li>
                      </ul>
                    </li>
                  </ul>
                </li>
                <li><a href="Services">SERVICES</a>
                  <ul>
                    <li><a href="Litigation">Litigation Services</a></li>
                    <li><a href="Creative">Creative Services</a></li>
                  </ul>
                </li>
                <li><a href="FAQs">FAQs</a>
                <li><a href="Contact Us">CONTACT US</a>
              </ul>
            </nav>
          </header>
          \ </div>
        <script type="text/javascript">$(".flexnav").flexNav();</script>
    </body>
    </html>

    Ok, I managed to place the menu within the site, but I still don't have a horizontal menu. All I can see is the unordered list. 
    (see below).
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <!--<![endif]-->
    <head>
    <meta charset="UTF-8">
    <title>Home Page</title>
    <meta name="view" name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="IE=9 />
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="css/master.css" rel="stylesheet" type="text/css">
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="http://code.jquery.com/jquery-1.9.0.js" type="text/javascript"></script>
    <script src="js/jquery.flexnav.min.js" type="text/javascript"></script>
    <style type="text/css">
    img {margin:6px; border:solid 2px #FFF;}
    img:hover  {background: #666;}
    </style>
    <link href="styles/navbar stylesheet new.css" ref="stylesheet" type="text/css" />
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="LayoutDiv1">
        <div align="center"><img src="images/Site Objects/headermain.png" alt="header"></div>
      </div>
      <div id="navbar"><script src="http://code.jquery.com/jquery-1.9.0.js" type="text/javascript"></script>
      <script src="js/jquery.flexnav.min.js" type="text/javascript"></script>
        <div class="#"
            <div class="menu-button"></div>
            <nav>
              <ul data-breakpoint="800" class="flexnav">
                <li><a href="HOME">HOME</a>
                <li><a href="About Us">ABOUT US</a>
                <li><a href="Products">PRODUCTS</a>
                  <ul>
                    <li><a href="Bound Products">Bound Products</a>
                      <ul>
                        <li><a href="Booklets">Booklets</a></li>
                        <li><a href="Catalogs & Magazines">Catalogs & Magazines</a></li>
                        <li><a href="Newsletters">Newsletters</a></li>
                        <li><a href="Presentation Books">Presentation Books</a></li>
                        <li><a href="Manuals">Manuals</a></li>
                      </ul>
                    </li>
                  <li><a href="Brochures">Brochures</a></li>
                    <li><a href="Business Cards">Business Cards</a></li>
                    <li><a href="CD & DVD Dupe">CD & DVD Duplication</a></li>
                    <li><a href="Copies">Copies</a></li>
                    <li><a href="Corp. ID">Corporate ID</a></li>
                    <li><a href="Flyers">Flyers</a></li>
                    <li><a href="Forms">Forms</a></li>
                    <li><a href="Menus">Menus</a></li>
                    <li><a href="Photo Collages">Photo Collages</a></li>
                    <li><a href="Photo Enlargements">Photo Enlargements</a></li>
                    <li><a href="Postcards">Postcards</a></li>
                    <li><a href="Rack Cards">Rack Cards</a></li>
                    <li><a href="Wide Format">Wide Format</a>
                      <ul>
                        <li><a href="Banners">Banners</a></li>
                        <li><a href="Posters">Posters</a></li>
                        <li><a href="Signs">Signs</a></li>
                      </ul>
                    </li>
                  </ul>
                </li>
                <li><a href="Services">SERVICES</a>
                  <ul>
                    <li><a href="Litigation">Litigation Services</a></li>
                    <li><a href="Creative">Creative Services</a></li>
                  </ul>
                </li>
                <li><a href="FAQs">FAQs</a>
                <li><a href="Contact Us">CONTACT US</a>
              </ul>
            </nav>
          </header>
          </div>
        <script type="text/javascript">$(".flexnav").flexNav();</script>
      </div>
      <div id="body">
        <div align="center"><img src="images/page templates/home pg tmplt blnk.png" alt="body"></div>
      </div>
      <div id="footer">
        <div align="center"><img src="images/Site Objects/footermainbck.png" alt="footer"></div>
      </div> 
    </div>
    </body>
    </html>

  • Spry horizontal menu problem in IE and Chrome

    First I'd like to express my frustration with spry. I spend way too much time trying to "band-aid" spry to work in different browers. I'll admit that I'm new to the web game but I seem to spend a large percentage of my time simply trying different "fixes" to something that I don't think should be this much of a problem. Regardless ...
    I've made a pretty simple web page, put a spry horizontal menu on it and it works and displays just like it's supposed to in FF but IE and Chrome both seem to have a problem with it. Currently there are no links attached to it but that's not my problem - getting it to display correctly is. Possibly this issuehas already been addressed but I couldn't find it in the forum. Webpage can be viewed here
    I've put (what I believe to be) the relevant css on the Main Content section of the page. Any help will be much appreciated. Thanks in advance.

    I am so glad that you started again, this is the best way to learn, trial and error.
    To fix your woes to date, have a look at the following
    .thrColFixHdr #header {padding:0;} /*remove the padding from the menubar container*/
    ul.MenuBarHorizontal{width:auto;margin:0;} /*remove the fixed width and auto margin*/
    ul.MenuBarHorizontal li{width:16.6667%;} /*spread the 6 items over the full width 6*16.6667% = 100%*/
    ul.MenuBarHorizontal ul a{text-align:left;} /*Set the the alignment back to left for any menu item links that are in a sub menu*/
    To add images to your menu items have a look at the following http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html, you will find it at the bottom of the page.
    I did not realise that SolidWorks still existed, started using it in the mid 1990's, excellent product, easy to use and promotes fast product development. I lost track of it when I went for retirement 10 years ago.
    Gramps.

  • Spry Horizontal Menu Submenus Won't Appear - Help

    OK, I have a Spry Horizontal Menu Bar done through DW CS5. The root menu items work just fine. And the arrow graphics indicating there are submenus are shown, however when you hover over the main menu item the submenus do not appear in browser preview. The spry menu bar is located in the header div above a main content div and a sidebar div (two column layout). Interestingly enough if I drop a new menu bar in the main content div with sample submenus it works fine, so the css file must be ok because they both read off the same css file.
    My only assumption is there is something in the header code which conflicts with the submenus and is not allowing the submenus to appear. Unfortunately I can't post it only in a test location as I am reworking an existing website and when I post the new css file it will obviously change the existing website.
    But here is some of the relevant code. First the HTML for the section in question.
    I very much appeciate any advice.
    Home     
    Biography
    Blog
    Riding
    Resources      
    Provincial
    Municipal
    Federal
    Education
    Community
    International
    Liberal Party
    Media      
    News Releases
    Newsletters
    Columns
    Photo Gallery
    Multimedia
    RSS Feeds
    Contact
    Now the CSS for the menu bar:
    @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-family: "Times New Roman", Times, serif;      font-size: medium;      font-weight: bold;      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: center;      cursor: pointer;      width: 108px;      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 0 0 50%;      padding: 0;      list-style-type: none;      font-size: 80%;      z-index: 1020;      cursor: default;      width: 108px;      float: none;      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: 108px; } /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */ ul.MenuBarHorizontal ul ul {      position: absolute;      margin: -5% 0 0 95%;      z-index:1030; } /* 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: none;      top: 0;      z-index:1040; } /******************************************************************************* 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: #000;      padding: 5px 5px;      color: #FEFEFE;      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: #323232;      color: #FEFEFE; } /* 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: #323232;      color: #FEFEFE; } /******************************************************************************* 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%; } /* 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;      } } 
    And lastly the Css code for the whole thing...
    @charset "utf-8"; body  {      font-family: Verdana, Geneva, sans-serif;      margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */      padding: 0;      text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */      }       .twoColFixLtHdr #container {      width: 760px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */      margin: 0 auto auto auto; /* the auto margins (in conjunction with a width) center the page */      border: 2px solid #000;      text-align: left; /* this overrides the text-align: center on the body element. */      }       .twoColFixLtHdr #header {            padding: 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */      border: 0px solid #000;             } .twoColFixLtHdr #header h1 {      margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */      padding: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */       } .twoColFixLtHdr #sidebar1 {      float: left; /* since this element is floated, a width must be given */      width: 200px;      font-size:12px;      color:#FEFEFE;      background: #000;      border-top-width: 1px;      border-right-width: 2px;      border-bottom-width: 2px;      border-left-width: 1px;      border-top-style: solid;      border-right-style: solid;      border-bottom-style: solid;      border-left-style: solid;      border-top-color: #000;      border-right-color: #660000;      border-bottom-color: #000;      border-left-color: #000;      padding-top: 1px;      padding-right: 0px;      padding-bottom: 1px;      padding-left: 1px; } .twoColFixLtHdr #mainContent {      margin: 0 0 0 204px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */      padding: 0 10px; /* remember that padding is the space inside the div box and margin is the space outside the div box */      background:#660000;      } .twoColFixLtHdr #videomainContent {      margin: 0 0 0 200px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */      background: #323232;      padding-left:100px      } .twoColFixLtHdr #singleframe {      background: #323232;      }       .twoColFixLtHdr #footer {      padding: 0 10px 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */      font-size:12px;      color:#FEFEFE;      background:#000;      border: 1px solid #000;            } .twoColFixLtHdr #footer p {      margin: 0 0 0 270px; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */      padding: 20px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */ } .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */      clear:both;     height:0;     font-size: 1px;     line-height: 0px; } br{font-size:10px} a:link {color:#FEFEFE} a:visited {color:#FEFEFE} a:hover {text-decoration:none;} #mainContent a:link {color:#000; text-decoration:none} #mainContent a:visited {color: #000; text-decoration:none} #mainContent a:hover {      text-decoration:underline; } #mainContent a:active {color:#000;text-decoration:none}   .red{     color:#4C0000;} .w1{font-size:14px;     color:#FEFEFE;} .w2{font-size:12px; color:#FEFEFE;} .w3{font-size:large; color:#FEFEFE;} .b1{font-size:14px; color: #000; font-weight:bolder} .sidehline{      float: left; /* since this element is floated, a width must be given */      width: 200px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */      padding: 0px 0px 0px 0px; }       .b{font-size:12px; color:#000000; } .topbtmmargin {      margin-top: 20px;      margin-bottom: 20px; } .SidebarPadding {      padding-top: 0px;      padding-right: 10px;      padding-bottom: 0px;      padding-left: 10px; } .FrontImage {      border: 5px ridge #323232;      float: left;      margin-right: 10px;      margin-bottom: 10px;      margin-top: 0px; } .FrontImageFltRgt {      border: 5px ridge #323232;     float: right;      margin-left: 10px;      margin-bottom: 10px;      margin-top: 20px; } .mapRgt {      float: right;      padding-left: 5px;      padding-bottom: 10px;      border: none;       } .sigRgt {      float: right;      padding-left: 5px;      margin-right: 60px;      padding-bottom: 10px;      margin-top: 10px;       } .textfntrgtcol {      padding-left: 200px;      font-size:12px;      color:#000000; } .textfntlftcol {      padding-right: 210px;      font-size:12px;      color:#000000; } .twoColFixLtHdr #container #mainContent ul li {      list-style-type: none;      list-style-position: outside;      list-style-image: url(images/blackbullet.gif); } .leftpicture {      border: 5px ridge #323232;      position: absolute;      z-index: 20;      height: 140px;      width: 180px;      margin-top: 10px;      margin-right: 10px;      margin-bottom: 10px;      margin-left: 210px;      left: 150px;      top: 326px; } img {      border-style: none; } .grooveimg {      border: groove; } #apDiv1 {      position:absolute;      width:200px;      height:115px;      z-index:1;      left: 0px;      top: 0px;      visibility: visible; } #apDiv2 {      position:absolute;      width:155px;      height:123px;      z-index:2;      left: 5px;      top: 4px;      visibility: visible; } #apDiv3 {      position:absolute;      width:335px;      height:122px;      z-index:3;      left: 173px;      top: 3px;      visibility: visible;      color:#FEFEFE; } #apDiv3 a:link {color:#FEFEFE} #apDiv3 a:visited {color: #FEFEFE} #apDiv3 a:hover {text-decoration:none;} #apDiv3 a:active {color:#FEFEFE} #apDiv4 {      position:absolute;      width:120px;      height:45px;      z-index:4;      left: 390px;      top: 105px;      visibility: visible; } #apDiv5 {      position:relative;      width:200px;      height:115px;      z-index:5; } .menubarWrapper {      background-color: #000;      float: left;      width: 100%; }

    Move the constructor for the menu bar up to read as follows
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    swfobject.registerObject("FlashID2");
    swfobject.registerObject("FlashID2");
    swfobject.registerObject("FlashID3");
    //-->
    </script>
    Gramps

  • 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

  • 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 - Submenu Problem in IE

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

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

  • I am trying to make only the main content editable in a template.

    I thought I had only the main content area editable, but when I made a change to the menu bar in the template it didn't carry over ( I did try update) and then I realized my whole page is editable on the page where I applied the template.  Can someone please review and tell me what I might have done wrong.
    template
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <link href="../main.css" rel="stylesheet" type="text/css">
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body onLoad="MM_preloadImages('../images/logo/shop_small_1.png','../images/home_page/plantatio n_closed.jpg')">
    <div id="outer_container">
      <div id="inner_conatiner">
        <div id="header">
          <script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
          </script>
          <table width="1024" border="0" cellspacing="0" cellpadding="5">
            <tr>
              <td rowspan="2"><img src="../images/logo/bed_guy_logo.gif" alt="bedguy logo" width="195" height="116" class="logo_images"></td>
              <td colspan="2" class="sleep_better">Helping Saint Louis<br>
                Sleep Better Since 2000</td>
              <td rowspan="2"><a href="../contact_forms/free_sticker_please.html" class="shop_small" onMouseOver="MM_swapImage('shop small','','../images/logo/shop_small_1.png',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/logo/logo_sticker_1.jpg" alt="shop small STL" width="225" height="105" id="shop small"></a></td>
            </tr>
            <tr>
              <td class="address"><a href="#">6431 Hampton Ave<br>
                Saint Louis, MO 63109<br>
                314-678-9100</a></td>
              <td class="address"><a href="#">4666 McRee Ave<br>
                Saint Louis, MO 63110<br>
                314-772-9999</a></td>
            </tr>
          </table>
        </div>
        <div id="nav_bar_top">
          <ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="#">browse</a>        </li>
            <li><a class="MenuBarItemSubmenu" href="#">bedroom</a>
              <ul>
                <li><a class="MenuBarItemSubmenu" href="#">Platform Beds</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="#">Case Goods</a></li>
                <li><a href="#">Platform Accessories</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">futons</a>
              <ul>
                <li><a href="#">wallhuggers</a></li>
                <li><a href="#">premium frames</a></li>
                <li><a href="#">standard frames</a></li>
                <li><a href="#">economy frames</a></li>
                <li><a href="#">futon mattresses</a></li>
                <li><a href="#">futon accessories</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">youth</a>
              <ul>
                <li><a href="#">Loft Beds</a></li>
                <li><a href="#">BunkBeds</a></li>
                <li><a href="#">Storage &amp; Trundle Beds</a></li>
                <li><a href="#">Daybeds</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Mattresses</a>
              <ul>
                <li><a href="#">Pocket Coil</a></li>
                <li><a href="#">Memory Foam</a></li>
                <li><a href="#">Pillowtop</a></li>
                <li><a href="#">Plush/Firm</a></li>
                <li><a href="#">Best Value</a></li>
                <li><a href="#">Double Sided</a></li>
                <li><a href="#">Youth</a></li>
                <li><a href="#">Misc </a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">bed rails</a>
              <ul>
                <li><a href="#">Basic Frames</a></li>
                <li><a href="#">Hook-On </a></li>
                <li><a href="#">Bolt-On</a></li>
                <li><a href="#">Specialty</a></li>
              </ul>
            </li>
          </ul>
        </div>
        <div id="nav_bar_left">
          <ul id="MenuBar2" class="MenuBarVertical">
            <li><a href="#">browse</a></li>
            <li><a href="#">Specials &amp; Closeout</a></li>
            <li><a href="#">about us</a></li>
            <li><a href="#">delivery</a></li>
            <li><a href="#">FAQ</a></li>
            <li><a href="#">hours &amp; locations</a></li>
            <li><a href="#">Our manufacturers</a></li>
            <li><a href="#">photo gallery</a></li>
            <li><a href="#">contact us</a></li>
          </ul>
        </div>
        <div id="hours"> <!-- #BeginLibraryItem "/Library/hours.lbi" --><strong class="underline">6431 Hampton</strong> <br>
    Tues-Fri 11-7<br>
    Sat 11-6<br>
    Sun 12-3<br>
    <br>
    <strong class="underline">4666 McRee </strong><br>
    Tues-Fri 10-7<br>
    Sat 10-6<br>
    Sun 12-3<!-- #EndLibraryItem --><br>
    <br>
        </div>
    <div id="main_content"><!-- TemplateBeginEditable name="main_content" -->main_content<!-- TemplateEndEditable --><table width="800" border="1" cellspacing="0" cellpadding="5">
      <tr>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home_futon','','../images/home_page/plantation_closed.jpg',1)" ><img src="../images/home_page/plantation_open.jpg" alt="futon open and closed" width="150" height="145" id="home_futon"></a></td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
    </table>
    </div>
    <div id="footer">The BedGuy &copy;2000-2014<br>
    Contact Us</div>
      </div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    page with template applied
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <link href="main.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body onLoad="MM_preloadImages('images/logo/shop_small_1.png','images/home_page/futon_closed.jp g','images/home_page/Clove Casegoods Dark Chocolate (Metal Knobs).jpg','images/home_page/sasparilla_chocolate_trundle.jpg','images/home_page/BR12_TE _Stack_06.jpg','images/home_page/link_spring.jpg')">
    <div id="outer_container">
      <div id="inner_conatiner">
        <div id="header">
          <script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
          </script>
          <table width="1024" border="0" cellspacing="0" cellpadding="5">
            <tr>
              <td rowspan="2"><img src="images/logo/bed_guy_logo.gif" alt="bedguy logo" width="195" height="116" class="logo_images"></td>
              <td colspan="2" class="sleep_better">Helping Saint Louis<br>
                Sleep Better Since 2000</td>
              <td rowspan="2"><a href="contact_forms/free_sticker_please.html" class="shop_small" onMouseOver="MM_swapImage('shop small','','images/logo/shop_small_1.png',1)" onMouseOut="MM_swapImgRestore()"><img src="images/logo/logo_sticker_1.jpg" alt="shop small STL" width="225" height="105" id="shop small"></a></td>
            </tr>
            <tr>
              <td class="address"><a href="#">6431 Hampton Ave<br>
                Saint Louis, MO 63109<br>
                314-678-9100</a></td>
              <td class="address"><a href="#">4666 McRee Ave<br>
                Saint Louis, MO 63110<br>
                314-772-9999</a></td>
            </tr>
          </table>
        </div>
        <div id="nav_bar_top">
          <ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="#">browse</a>        </li>
            <li><a href="#" class="MenuBarItemSubmenu">futons</a>
              <ul>
                <li><a href="#">wallhuggers</a></li>
                <li><a href="#">premium frames</a></li>
                <li><a href="#">standard frames</a></li>
                <li><a href="#">economy frames</a></li>
                <li><a href="#">futon mattresses</a></li>
                <li><a href="#">futon accessories</a></li>
              </ul>
            </li>
            <li><a class="MenuBarItemSubmenu" href="#">bedroom</a>
              <ul>
                <li><a class="MenuBarItemSubmenu" href="#">Platform Beds</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="#">Case Goods</a></li>
                <li><a href="#">Platform Accessories</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">youth</a>
              <ul>
                <li><a href="#">Loft Beds</a></li>
                <li><a href="#">BunkBeds</a></li>
                <li><a href="#">Storage &amp; Trundle Beds</a></li>
                <li><a href="#">Daybeds</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Mattresses</a>
              <ul>
                <li><a href="#">Pocket Coil</a></li>
                <li><a href="#">Memory Foam</a></li>
                <li><a href="#">Pillowtop</a></li>
                <li><a href="#">Plush/Firm</a></li>
                <li><a href="#">Best Value</a></li>
                <li><a href="#">Double Sided</a></li>
                <li><a href="#">Youth</a></li>
                <li><a href="#">Misc </a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">bed rails</a>
              <ul>
                <li><a href="#">Basic Frames</a></li>
                <li><a href="#">Hook-On </a></li>
                <li><a href="#">Bolt-On</a></li>
                <li><a href="#">Specialty</a></li>
              </ul>
            </li>
          </ul>
        </div>
        <div id="nav_bar_left">
          <ul id="MenuBar2" class="MenuBarVertical">
            <li><a href="#">browse</a></li>
            <li><a href="#">Specials &amp; Closeout</a></li>
            <li><a href="#">about us</a></li>
            <li><a href="#">delivery</a></li>
            <li><a href="#">FAQ</a></li>
            <li><a href="#">hours &amp; locations</a></li>
            <li><a href="#">Our manufacturers</a></li>
            <li><a href="#">photo gallery</a></li>
            <li><a href="#">contact us</a></li>
          </ul>
        </div>
        <div id="hours"> <!-- #BeginLibraryItem "/Library/hours.lbi" --><strong class="underline">6431 Hampton</strong> <br>
    Tues-Fri 11-7<br>
    Sat 11-6<br>
    Sun 12-3<br>
    <br>
    <strong class="underline">4666 McRee </strong><br>
    Tues-Fri 10-7<br>
    Sat 10-6<br>
    Sun 12-3<!-- #EndLibraryItem --><br>
    <br>
        </div>
    <div id="main_content"><!-- TemplateBeginEditable name="main_content" --> <!-- TemplateEndEditable -->
      <table width="800" cellpadding="10">
      <tr>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('futon','','images/home_page/futon_closed.jpg',1)"><img src="images/home_page/futon_open.jpg" alt="take me to futon home page" width="250" height="175" id="futon"></a></td>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('bedroom','','images/home_page/Clove Casegoods Dark Chocolate (Metal Knobs).jpg',1)"><img src="images/home_page/Tamarind Bed Full Cherry K-Series w Cinnamon Storage Drawers opened.jpg" alt="platform bed and casegoods" width="250" height="175" id="bedroom"></a></td>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('youth','','images/home_page/sasparilla_chocolate_trundle.jpg', 1)"><img src="images/home_page/Scribbles Twin Twin Medium Oak w Drawer opened.jpg" alt="bunkbeds and trundle beds" width="250" height="175" id="youth"></a></td>
      </tr>
      <tr>
        <td class="home_page_table_words">FUTONS</td>
        <td class="home_page_table_words">BEDROOM</td>
        <td class="home_page_table_words">YOUTH</td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('mattresses','','images/home_page/BR12_TE_Stack_06.jpg',1)"><im g src="images/home_page/BR13_Pyramid_Stack_R.jpg" alt="mattresses" width="250" height="175" id="mattresses"></a></td>
        <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('bedframes','','images/home_page/link_spring.jpg',1)"><img src="images/home_page/classic_frame.jpg" alt="bedframes" width="250" height="175" id="bedframes"></a></td>
        <td><img src="images/home_page/futon_closed.jpg" width="250" height="175"></td>
      </tr>
      <tr>
        <td class="home_page_table_words">MATTRESSES</td>
        <td class="home_page_table_words">BED FRAMES</td>
        <td class="home_page_table_words">SPECIALTY AND MISC</td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
    </table>
    </div>
    <div id="footer">The BedGuy &copy;2000-2014<br>
    Contact Us</div>
      </div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

    Go to File > New page from template. 
    Select your Template.dwt file from the list and hit Create.
    Save your child page.
    Nancy O.

  • Background images with spry "horizontal menu"

    hi again
    I am trying to work with the spry: "horizontal menu"
    I want to put some background images into the menu bar not into the submenu
    and that is the problem: the background images appears overall
    what can I do ?
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Unbenanntes Dokument</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    #container {
         margin-right: auto;
         margin-left: auto;
         width: 400px;
    -->
    </style>
    </head>
    <body>
    <div id="container">Raum für den Inhalt von  id "container"
    <ul id="MenuBar1" class="MenuBarHorizontal">
      <li><a href="#">Element 1</a>  </li>
    <li><a class="MenuBarItemSubmenu" href="#">Element 3</a>
        <ul>
          <li><a href="#" class="MenuBarHorizontal">heija</a>      </li>
          <li><a href="#">soso</a></li>
    </ul>
      </li>
      <li><a href="#">Element 4</a></li>
    </ul>
    <p>  </p>
    <p> </p>
    <p> </p>
    <p> </p>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>
    and css
    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: center;
         cursor: pointer;
         width: 100px;
         float: left;
         height: 10px;
    /* 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: 100px;
         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: 100px;
         height: 30px;
    /* 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: #FEF3E4;
         padding: 0.5em 0.75em;
         color: #FFF;
         text-decoration: none;
         background-repeat: no-repeat;
         background-image: url(../rot.jpg);
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
         color: #FF0;
    /* 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: #FEF3E4;
         color: #FF0;
         background-image: url(../rot.jpg);
    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-color: #FEF3E4;
    /* 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-color: #0F9;
    /* 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-color: #FEF3E4;
         color: #FF0;
    /* 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-color: #F99;
    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;

    Complete page and css code below (scroll down)
    All you should be concerned with at this moment to get the background image to appear in the top level anchor is the css style below:
    /* 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-color: #000;
    background-image: url(../rot.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    I've added the background-postion because presumably you want it to appear flush left. This overides the out-of-the-box setting which positions it 95% far left.
    Here is the code and css:
    <!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" />
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Unbenanntes Dokument</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <head>
    <style type="text/css">
    <!--
    #container {
         margin-right: auto;
         margin-left: auto;
         width: 400px;
    -->
    </style>
    <style>
    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: center;
         cursor: pointer;
         width: 100px;
         float: left;
         height: 10px;
    /* 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: 100px;
         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: 100px;
         height: 30px;
    /* 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: #FEF3E4;
         padding: 0.5em 0.75em;
         color: #FFF;
         text-decoration: none;
         background-repeat: no-repeat;
         background-image: url(../rot.jpg);
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
         color: #FF0;
    /* 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: #FEF3E4;
         color: #FF0;
         background-image: url(../rot.jpg);
    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-color: #000;
    background-image: url(../rot.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    /* 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-color: #0F9;
    /* 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-color: #FEF3E4;
         color: #FF0;
    /* 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-color: #F99;
    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);
    </style>
    </head>
    <body>
    <div id="container">Raum für den Inhalt von  id "container"
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a class="MenuBarItemSubmenu" href="#">Element 1</a>  </li>
    <li><a class="MenuBarItemSubmenu" href="#">Element 3</a>
        <ul>
          <li><a href="#" class="MenuBarHorizontal">heija</a>      </li>
          <li><a href="#">soso</a></li>
    </ul>
      </li>
      <li><a href="#">Element 4</a></li>
    </ul>
    <p>  </p>
    <p> </p>
    <p> </p>
    <p> </p>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

  • Spry horizontal menu alignment problem

    There is an issue I am dealing with that is causing problems.
    I am trying to avoid having the borders double up in thickness, anywhere within the menu.
    I have achieved this by using the left and bottom border everywhere I can and then adding class or id tags where appropriate and adding my own top and right borders.
    Works fine everywhere except at the top of the dropdown section of the submenus where it connects with the main horizontal menu.
    I would like that top box of the submenu to align perfectly with the main horizontal menu bar so that there is a clean single pixel line.
    A clean contiuous line around all menu objects.
    When I add a top border on that top box of the submenu, I can adjust the placement a little but it always seems to either over ride the main horizontal menu, which causes me to either lose the border or double up on it.
    if I have a border completely around both the horizontal menu and the submenu, then when I align them so that the borders sit on top of each other, I get an artifact at the corners of the lines that appear as a gap.  It is NOT clean.
    I can edit the position of the submenu in the CSS code below, I have done this with the margin-top statement.  I have adjusted that between 0 and -1, and will inlcude images of the problem.  Hopefully this will work.
    I want a very clean continous line around the menu boxes that does NOT leave gaps, does NOT double up in thickness or leave any strange looking artifacts anywhere.
    Any help would be greatly appreciated!
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        z-index: 1020;
        cursor: default;
        width: auto;
        position: absolute;
        left: -1000em;
        margin-top: 0px;
        margin-left: 0px;

    Posting screenshots only demonstrates the problem. For anyone to troubleshoot it for you, they need to see the actual menu. Upload the problem page to a public website, and post the URL here. Then someone can have a look at it for you.

  • Spry horizontal menu perfect on Mac, screwy on PC

    I created a Spry Horizontal menu for http://www.ljwdesign.com/clients/TotalFab.
    The only edit I made to http://www.ljwdesign.com/clients/TotalFab/SpryAssets/SpryMenuBarHorizontal.css was to add the positioning of the <div> container that holds the menu.  You'll see it as the first thing in the CSS document.  I left the rest of the code exactly the way Dreamweaver created it.
    My main CSS file is http://www.ljwdesign.com/clients/TotalFab/css/mainstyle.css but there is nothing in that file that styles the Spry menu.
    In Firefox and Safari on my Mac, it works EXACTLY as expected - exactly how I want it to work.
    In IE 6, forget it - doesn't work, but I don't care at the moment.
    In IE 7, the drop-downs won't go past the bottom of the table cell the menu is in.  Also, once you mouseover then mouseout of any of the top level menu items (there are three), the text for the other two disappears until you mouseover them again.
    In Chrome and Firefox, the menus drop just fine and the text stays visible, but the longest of the three drop-downs (the gallery) disappears behind the Flash object below the menu.  This does not happen in any Mac browsers.
    I've tried playing with z-index everywhere, but nothing helps.  I even increased the z-indexes in the Spry CSS file to 9999; didn't make a darn bit of difference.
    If anyone knows how to fix this, I'd really appreciate the heads up.  Until I get this working in all the above-mentioned IE browsers, I don't dare touch the CSS code to make it match the rest of the site stylistically.  Thanks!
    Lynda Williams
    LJWDesign.com

    There's been a recent post and solution to menus that drop below Flash, just in the last two days.
    I'll see if I can find it for you. Here it is: http://forums.adobe.com/message/261033#261033
    Beth

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

Maybe you are looking for