Drop down menu in CSS

After someone suggested the P7 link (
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm[i
), I was able to reverse engineer it and figure out how it works
(obviously not a feat of genius, but I'm new at this). Anyway, I
got it working, made some changes to and and had a functioning
horizontal drop down menu bar to pop into my own site.
So I renamed everything, linked the .js to the HTML page in
the <head>, put the CSS into the attached style sheet, etc.
Everything was going great until I previewed it and realized that
the drop downs were happening behind the "bottom_half_wrapper"
elements rather than on top of them all.
So then I played with the z-index and put the nav bar on the
2nd level. No dice.
Also, you cannot scroll down the drop down menus without them
disappearing.
How should I be approaching this? I think that what is
especially hindering me is my lack of javascript knowledge. I am
under the gun at work and learning all of this on the fly. I have
attached the relevent code, but cannot publish the site since I am
at a large educational institution and do not have permission to
publish it to our server yet.
Thanks!

I don't think there is a correct answer to your questions, just opinions and options that all have a place in design decisions.  Not all people will allow javascript or Flash content, so sticking with a CSS/html approach will help maximize the potential audience.  But CSS/html-only solutions can end up lacking interesting functional/interactive elements.  So the choice really comes down to using what works best to make the site performance what it needs to be.

Similar Messages

  • Drop Down Menu Using CSS Only

    Apex 3.2
    I have created a drop down menu for my application by following this blog
    http://www.grassroots-oracle.com/2013/05/css-pull-down-menu-using-apex-list.html
    It works perfectly if my list has only one level, but I can't get it working for sub items.
    If I add a sub item to my list, then the whole menu displays incorrectly.
    Has anybody used this blog before
    I would post on the blog, but it requires a google acount, which I am not allowed to create
    Gus

    Hi Gus,
    Have you read the comment from ino?
    Thanks Scott, very useful.
    One update: this works if there are no sub menus. For the same reason as you described about the <ul> bug, you can change the Sublist with sublist items to
    <li><a href="#LINK#" class="dir">#TEXT#</a><ul>
    (extra <ul> at the end). Took me a while to figure out why my sub menus were not showing properly, until I read your comment in the "Sublist template before rows" section.
    It looks to me that this would solve your problem.
    Regards,
    Kees Vlek
    Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66
    +If the question is answered please change it to answered and mark the appropriate post as correct/helpfull.+

  • I need help changing a drop down menu on a template

    Hi there
    ive been using dreamwearver on and of for a few years now and just about get by,  ive just bought a web site template and although ive managed to ajust most things,
    the template had a drop down menu using CSS  currently on the "about us" option a sub menu drops down, ive worked out how to  add to this menu and change the words
    but what i cant do is have this same drop down menu on another part or the menu system  for example i would like another drop down menu on the "our menu" part
    any help would be much appreciated
    below is the source code
    ive got some js codes to but im not sure if the menu system uses them
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <title></title>
        <meta charset="utf-8">
        <link rel="stylesheet" href="css/reset.css" type="text/css" media="screen">
        <link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
        <link rel="stylesheet" href="css/grid.css" type="text/css" media="screen">
        <link rel="icon" href="images/favicon.ico" type="image/x-icon">
        <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" href="css/ui.totop.css" type="text/css" media="screen">
              <script src="js/jquery-1.7.min.js" type="text/javascript"></script>
        <script src="js/superfish.js" type="text/javascript"></script>
        <script src="js/script.js" type="text/javascript"></script>
              <script src="js/jquery.hoverIntent.js" type="text/javascript"></script>
        <script src="js/tms-0.3.js" type="text/javascript"></script>
        <script src="js/tms_presets.js" type="text/javascript"></script>
        <script src="js/jquery.ui.totop.js" type="text/javascript"></script>
              <script src="js/jquery.easing.1.3.js" type="text/javascript"></script>
                        <!--[if lt IE 8]>
        <div style=' clear: both; text-align:center; position: relative;'>
            <a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_b annercode">
                      <img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
            </a>
        </div>
              <![endif]-->
        <!--[if lt IE 9]>
                           <script type="text/javascript" src="js/html5.js"></script>
              <![endif]-->
    </head>
    <body id="page1">
    <!--=========================================header======================================= ======-->
            <header>
                <div class="bg-1">
                    <div class="main">
                        <div class="container_24">
                            <div class="wrapper">
                                <article class="grid_24">
                                    <h1><a href="index.html">Alexander</a></h1>
                                </article>
                            </div>
                            <article class="grid_24">
                                <nav>
                                    <ul class="menu">
                                        <li><a class="active" href="index.html">home<span></span></a></li>
                                        <li><a href="menu.html">our menu<span></span></a></li>
                                        <li><a href="about us.html">about  us<span></span></a>
                                            <ul>
                                                <li><a href="#">history</a></li>
                                                <li><a href="#">gallery</a>
                                                <li><a href="#">weddings</a></li>
                                            </ul>
                                        </li>
                                        <li><a href="reservation.html">Reservation<span></span></a></li>
                                        <li><a href="contact us.html">contacts<span></span></a></li>
                                    </ul>
                                    <div class="clear"></div>
                                </nav>
                                <div class="clear"></div>
                                <div class="wrapper">
                                          <div class="col-1 bg-2">
                                              <div>
                                                  <h3>WELCOME TO<span>BALOOS</span></h3>
                                        </div>
                                        <div>
                                                  <div class="color-1">
                                                    <p>Situated in Henfield, Baloos is the creation of chef and restaurateur Chris and Amanda. Chris&rsquo; passion for food using the freshest, local and seasonal produce combined with Amanda&rsquo;s friendly front-of-house charm and personal touch to make Baloos the perfect spot for lunch or evening meal.                                               </p>
                                                  </div>
                                            <a href="#" class="button-1"><span>read more</span></a>
                                        </div>
                                    </div>
                                          <div class="col-2">
                                        <div class="slider_bg">
                                            <div class="slider">
                                                <ul class="items">
                                                    <li><img src="images/slider_1.jpg" alt=""></li>
                                                    <li><img src="images/slider_2.jpg" alt=""></li>
                                                    <li><img src="images/slider_3.jpg" alt=""></li>
                                                    <li><img src="images/slider_4.jpg" alt=""></li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </article>
                            <div class="clear"></div>
                        </div>
                    </div>
                </div>
            </header>
    <!--==============================content================================-->
        <section id="content">
                  <div class="bg-3">
                                  <div class="bg-4">
                          <div class="main">
                              <div class="container_24">
                                  <div class="wrapper">
                                      <article class="grid_24">
                                          <div class="wrapper border-1 margin-bot3">
                                              <article class="grid_6 suffix_2 alpha">
                                                  <h4 class="indent-top margin-bot1">restaurant hours</h4>
                                            <div class="color-3 lh-1 border-2">
                                                      <strong class="title-3 d-block margin-bot2">Bar </strong>
                                                11:30-8:30 Sunday-Thursday<br>
                                                11:30-9:00 Friday and Saturday
                                            </div>
                                            <div class="color-3 lh-1 border-2">
                                                      <strong class="title-3 d-block margin-bot2">Lunch</strong>
                                                Tue.-Sat. 12:00-2pm<br>
                                                No Lunch on Sunday
                                            </div>
                                            <div class="color-3 lh-1">
                                                      <strong class="title-3 d-block margin-bot2">Dinner</strong>
                                                Tuesday-Saturday 6:00- 9:30<br>
                                                Sunday 12:30-4pm
                                            </div>
                                        </article>
                                        <article class="grid_16 omega indent-top1">
                                                  <div class="wrapper">
                                                      <figure class="img-indent-l">
                                                          <img src="images/page1_img1.jpg" alt="">
                                                </figure>
                                                <div class="extra-wrap">
                                                          <div class="title-1"> Welcome!</div>
                                                    <div class="color-4 lh"><span class="color-3">Moleacene anrit ma hasese rayuaumso natoqu eagnis</span><br>
                                                    dist mte dulmuese feugiata lesua  kery ecencies phaledaty
                                                    fenanec sit amm easer ermeolor dapegetele mentum.
                                                    Baelursus eleifneanctor wisi et urna. Aliquam eravolutpatis
                                                    turpisntey yoleacene anritserauas ty miwert betyudes.</div>
                                                    <div class="title-2">chef</div>
                                                    <figure class="sign">
                                                              <img src="images/page1_img2.png" alt="">
                                                    </figure>
                                                </div>
                                            </div>
                                        </article>
                                    </div>
                                    <div class="wrapper border-1 indent-top">
                                              <article class="grid_7 suffix_1 alpha">
                                                  <h4 class="margin-bot4">about BALOOS</h4>
                                            <strong class="color-3 size-1 reg">Moleacene anrit maha deyuas</strong>
                                            <div class="margin-bot">Cum socis natoqu eagn dist mte dulm uese feugiata lesu kery lecenas stricies phaledatyfec sim easer erment.</div>
                                            <a href="#" class="button-2"><span>read more</span></a>
                                        </article>
                                        <article class="grid_16 omega">
                                                  <h4 class="margin-bot"> OUR RECOMENDED dishes of the MONTH</h4>
                                            <div class="wrapper margin-bot3">
                                                      <article class="grid_8 alpha">
                                                          <div class="wrapper">
                                                              <figure class="img-indent-2">
                                                                  <img src="images/page1_img3.jpg" alt="">
                                                        </figure>
                                                        <div class="extra-wrap indent-top2">
                                                                  <a href="#" class="color-6 link2">Grilled Fish</a><br>
                                                            kery lecenas stricies phaledatyfenanec sit amm easer erment. Ut ts dolor dapege telementum.
                                                        </div>
                                                    </div>
                                                </article>
                                                      <article class="grid_8 omega">
                                                          <div class="wrapper">
                                                              <figure class="img-indent-2">
                                                                  <img src="images/page1_img4.jpg" alt="">
                                                        </figure>
                                                        <div class="extra-wrap indent-top2">
                                                                  <a href="#" class="color-6 link2">Chicken Quesadilla</a><br>
                                                            lesuada  kercenas stricies phatyfenanec sit amm easer rment. Ut ts dolor dapege telementum.
                                                        </div>
                                                    </div>
                                                </article>
                                            </div>
                                                  <a href="#" class="button-3"><span>view all recipes</span></a>
                                        </article>
                                    </div>
                                </article>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    <!--==============================footer================================-->
        <footer>
                  <div class="main">
                      <div class="container_24">
                          <div class="wrapper indent-bottom">
                              <article class="grid_14">
                                  <nav>
                                      <ul class="menu2">
                                    <li><a class="active" href="index.html">home</a></li>
                                    <li><a href="menu.html">our menu</a></li>
                                    <li><a href="about us.html">about us</a></li>
                                    <li><a href="reservation.html">Reservation</a></li>
                                    <li><a href="contact us.html">contacts</a></li>
                                </ul>
                            </nav>
                        </article>
                        <article class="grid_10">
                            <div class="indent-top3">
                                <div class="border-3 prefix_1">
                                    <div class="title-4">Find Us On Social Network:</div>
                                    <p class="p0 size-2 color-7">Bayarsety kertya aset aplicaboes kerasaer </p>
                                    <ul class="soc_list">
                                        <li><a href="#"><img src="images/soc_1.png" alt=""></a></li>
                                        <li><a href="#"><img src="images/soc_2.png" alt=""></a></li>
                                        <li><a href="#"><img src="images/soc_3.png" alt=""></a></li>
                                        <li><a href="#"><img src="images/soc_4.png" alt=""></a></li>
                                        <li><a href="#"><img src="images/soc_5.png" alt=""></a></li>
                                    </ul>
                                </div>
                            </div>
                        </article>
                    </div>
                    <div class="wrapper border-4">
                              <article class="grid_24 aligncenter down">
                                  BALOOS &copy; 2013 &bull; <a href="Privacy.html" class="link2">Privacy policy</a> &bull;
                            <span class="d-block"><!--{%FOOTER_LINK} --></span>
                        </article>
                    </div>
                </div>
            </div>
        </footer>
    <script type="text/javascript">
              $(window).load(function(){
            $('.slider')._TMS({
                duration:800,
                preset:'simpleFade',
                pagination:true,//'.pagination',true,'<ul></ul>'
                pagNums:false,
                slideshow:7000,
    </script>
    </body>
    </html>
    HERE IS THE CCS CODE
    @import url(http://fonts.googleapis.com/css?family=Amethysta);
    @import url(http://fonts.googleapis.com/css?family=Mr+De+Haviland);
    @import url(http://fonts.googleapis.com/css?family=Mr+Dafoe);
    /* Getting the new tags to behave */
    article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {display:block;}
    mark, rp, rt, ruby, summary, time {display:inline;}
    /* Global properties ======================================================== */
    html {width:100%;}
    html, body {height:100%;}
    body {           
              font-family:Arial, Helvetica, sans-serif;
              color:#666666;
              min-width:960px;
              background:#efefef;
              font-size:14px;
              line-height:22px;
    .main {
              width:960px;
              padding:0;
              margin:0 auto;
              position:relative;
    a {color:#666666; outline:none; text-decoration:none;}
    a:hover {text-decoration:none;}
    .link {text-decoration:underline;}
    .link2:hover {text-decoration:underline;}
    .wrapper {width:100%; overflow:hidden;}
    .extra-wrap {overflow:hidden;}
    p {margin-bottom:22px;}
    .p0 {margin-bottom:0;}
    .p1 {margin-bottom:0;}
    .d-in-block {display:inline-block;}
    .d-block {display:block;}
    .reg {text-transform:uppercase;}
    .rel {position:relative;}
    .fleft {float:left;}
    .fright {float:right;}
    .alignright {text-align:right;}
    .aligncenter {text-align:center;}
    .img-indent-l {float:left; margin:0px 39px 0px 0px;}
    .img-indent-2 {float:left; margin:0px 32px 0px 0px;}
    .img-indent-3 {float:left; margin:6px 32px 0px 0px;}
    /*********************************boxes**********************************/
    .indent {padding:0;}
    .indent-left {padding-left:0;}
    .indent-bottom {padding-bottom:25px;}
    .indent-right {padding-right:0;}
    .indent-top {padding-top:39px;}
    .indent-top1 {padding-top:37px;}
    .indent-top2 {padding-top:6px;}
    .indent-top3 {padding-top:29px;}
    .indent-top4 {padding-top:40px;}
    .indent-top5 {padding-top:8px;}
    .margin-top { margin-top:0;}
    .margin-bot {margin-bottom:33px;}
    .margin-bot1 {margin-bottom:26px;}
    .margin-bot2 {margin-bottom:9px;}
    .margin-bot3 {margin-bottom:29px;}
    .margin-bot4 {margin-bottom:23px;}
    .margin-bot5 {margin-bottom:19px;}
    .margin-bot6 {margin-bottom:11px;}
    .margin-bot7 {margin-bottom:42px;}
    .margin-left {margin-left:0;}
    .margin-right {margin-right:20px;}
    .margin-right1 {margin-right:30px;}
    /*********************************header*************************************/
    header {
              width:100%;
              background:url(../images/header.jpg) center top no-repeat #282829;
    h1 {
              padding:32px 0 23px 299px;
              h1 a {
                        display:block;
                        text-indent:-9999px;
                        background:url(../images/logo.png) no-repeat 0 0;
                        width:316px;
                        height:86px;
    /***** menu *****/
    header nav {
              float:left;
              background:url(../images/menu_r.png) right 38px no-repeat;
              width:100%;
    .menu {
              float:left;
              padding:9px 0 8px 84px;
              position:relative;
              z-index:20;
              font-family: 'Amethysta', serif;
              background:url(../images/menu_l.png) left 38px no-repeat;
    .menu li {
              float:left;
              position:relative;
              background:url(../images/menu2.png) left top no-repeat;
              padding:27px 45px 24px 42px;
    .menu li:first-child {
              background:none;
              padding-left:0;
    .menu li a {
              display:block;
              font-size:16px;
              line-height:20px;
              color:#dbdada;
              text-transform:uppercase;
              z-index:20;
    .menu li a span {
              display:block;
              width:18px;
              height:9px;
              background:url(../images/sub.png) left top no-repeat;
              position:absolute;
              top:-999px;
              left:50%;
              margin-left:-9px;
    .menu li:first-child a span {
              margin-left:-33px;
    .menu li.sfHover {
              position:relative;
              z-index:10;
    .menu li a.active span,
    .menu > li > a:hover span,
    .menu > li.sfHover > a span {
              top:-9px;
    .menu ul {
              z-index:20;
              letter-spacing:normal;
              position:                    absolute;
              top:                              -9999em;
              width:                              100px;
              background:url(../images/menu4.gif) left top repeat;
              border:                              none;
              box-shadow:5px 5px 5px rgba(0,0,0, .26);
              padding:6px 20px 10px;
    .menu ul ul {
              background-image:url(../images/menu5.gif);
    .menu ul li {width:          100%;}
    .menu li:hover {visibility:          inherit; }
    .menu li li {
              margin:0;
              border:none;
              padding:9px 0 6px 0;
              background:url(../images/menu6.png) left top repeat-x;
    .menu li li li {
              background-image:url(../images/menu7.png);
    .menu li li:first-child {
              background:none;
    .menu li li a {
              background:none;
              display:                    block;
              padding:                    0 0 0 6px;
              font-size:                    14px;
              line-height:          17px;
              color:                              #fff;
    .menu li li > a:hover,
    .menu li li.sfHover > a {
              color:#b16167;
    .menu li:hover ul, .menu li.sfHover ul {
              left:                              22px;
              top:                              79px;
              z-index:                    999;
    ul.menu li:hover li ul, ul.menu li.sfHover li ul {
              top:                              -999em;
    ul.menu li li:hover ul, ul.menu li li.sfHover ul {
              left:                              100px;
              top:                              -6px;
              z-index:                    99;
    ul.menu li li:hover li ul, ul.menu li li.sfHover li ul {
              top:                              -999em;
    /*********************************content*************************************/
    #content {
              width:100%;
              background:url(../images/bg-1.jpg) center -464px no-repeat #020202;
              padding:0;
    #page1 #content {
              margin-top:-194px;
    .col-1 {
              float:left;
              width:360px;
    .col-2 {
              float:left;
              width:590px;
    .col-3 {
              float:left;
              width:300px;
    .col-4 {
              float:left;
              width:280px;
    .sign {
              text-align:right;
              padding:10px 40px 0 0;
    .letter {
              text-align:center;
              font-family: 'Mr Dafoe', cursive;
              font-size:70px;
              line-height:84px;
              color:#cbcbcb;
              float:left;
              width:60px;
              margin-right:15px;
    /******************* slider *************/
    .slider_bg {
              background:url(../images/slider_bg.jpg) left top no-repeat;
              overflow:hidden;
              width:590px;
              height:429px;
              overflow:hidden;
    .slider {
              width:534px;
              height:429px;
              position:relative;
              background:url(../images/preloader.png) center center no-repeat;
    .pagination {
              position:absolute;
              right:-37px;
              top:21px;
              overflow:hidden;
              z-index:999;
    .pagination li {
              margin-top:3px
    .pagination li:first-child {
              margin-top:0;
    .pagination li a {
              display:block;
              width:15px;
              height:15px;
              background:url(../images/pag_nav.png) left bottom no-repeat;
    .pagination li a:hover,
    .pagination .current a {
              background-position:left top;
    .pagination .current a {
              cursor:default;
    .items {display:none;}
    /******************* slideshow *************/
    #slideshow {
              width:620px;
              height:705px;
              overflow:hidden;
              background:none !important;
    #slideshow>div {
              width:620px;
              height:705px;
              background:none !important;
    #prev {
              float:left;
    #next {
              float:left;
    #nav {
              overflow:hidden;
              padding:0px 15px 0;
              float:right;
    #nav li {
              float:left;
              font-size:13px;
              line-height:16px;
              text-align:center;
              margin-left:1px;
              display:block !important;
    #nav li:first-child {
              margin-left:0;
    #nav li a {
              color:#666666;
              display:block;
              width:14px;
              height:16px;
              overflow:hidden;
    #nav .activeSlide a,
    #nav li a:hover {
              color:#fff;
    .nav_wrap {
              overflow:hidden;
              position:absolute;
              width:200px;
              height:30px;
              right:97px;
              top:-33px;
    #next,
    #prev {
              text-indent:-9999px;
              float:right;
              overflow:hidden;
              display:block;
              width:10px;
              height:18px;
    #next {
              background:url(../images/next.png) left top no-repeat;
    #prev {
              background:url(../images/prev.png) left top no-repeat;
    #next:hover ,
    #prev:hover {
              background-position:right top;
    /*********************************bg's*************************************/
    .bg-1 {
              background:url(../images/light.png) center top no-repeat;
    .bg-2 {
              background:url(../images/bg-2.jpg) left top no-repeat;
              height:429px;
              overflow:hidden;
              text-align:center;
    .bg-2>div {
              padding:80px 15px 0 0;
    .bg-2>div+div {
              font-size:13px;
              line-height:20px;
              padding:27px 45px 0 50px;
    .bg-3 {
              background:url(../images/bg-4.png) left top repeat-x;
    .bg-4 {
              background:url(../images/bg-5.png) left bottom repeat-x;
              padding:70px 0 35px;
    #page1 .bg-4 {
              padding:225px 0 35px;
    .bg-5 {
              background:url(../images/bg-7.png) center top no-repeat;
    .bg-6 {
              background:url(../images/bg-8.gif) center top repeat-x;
    .border-1 {
              background:url(../images/border-1.png) left top repeat-x;
    .border-2 {
              border-bottom:1px dotted #313131;
              padding:0 0 18px;
              margin:0 0 15px;
    #page3 .border-2 {
              padding:0 0 23px;
              margin:0 0 14px;
    #page4 .border-2 {
              padding:0 0 35px;
              margin:0 0 37px;
    .border-3 {
              background:url(../images/border-2.png) left top repeat-y;
              padding:5px 0 4px;
    .border-4 {
              background:url(../images/border-3.png) left top repeat-x;
    /*********************************buttons*************************************/
    .button-1 {
              display:inline-block;
              font-size:18px;
              line-height:22px;
              color:#f9dfdf;
              font-family: 'Amethysta', serif;
              text-transform:uppercase;
              background:url(../images/button1_l.png) left 5px no-repeat;
              padding:0 0 0 23px;
    .button-1 span {
              display:block;
              background:url(../images/button1_r.png) right 5px no-repeat;
              padding:0 29px 0 4px;
    .button-1:hover {
              color:#1d1d1d;
    .button-2 {
              display:inline-block;
              text-transform:uppercase;
              font-family: 'Amethysta', serif;
              font-size:14px;
              line-height:17px;
              color:#fff;
              background:url(../images/button-2.gif) left bottom repeat-x;
              height:41px;
              overflow:hidden;
              border:1px solid #343434;
    .button-2 span {
              display:block;
              padding:13px 16px 11px 14px;
    .button-2:hover {
              background-position:left top;
    .button-3 {
              text-align:right;
              text-transform:uppercase;
              display:block;
              background:url(../images/button-2.gif) left bottom repeat-x;
              height:41px;
              border:1px solid #323232;
              font-size:16px;
              line-height:20px;
              color:#bfbfbf;
              font-family: 'Amethysta', serif;
    .button-3:hover {
              background-position:left top;
    .button-3 span {
              background:url(../images/marker-1.png) left 11px no-repeat;
              display:inline-block;
              padding:11px 19px 0 18px;
    /*********************************lists*************************************/
    .dl-1 dt {
              color:#fff;
    .dl-1 dd {
              overflow:hidden;
    .dl-1 dd span {
              display:block;
              float:left;
              width:100px;
    .soc_list {
              overflow:hidden;
              padding:19px 0 0;
    .soc_list li {
              float:left;
              margin-left:10px;
    .soc_list li:first-child {
              margin-left:0;
    .soc_list li a {
              display:block;
              width:32px;
              height:32px;
    .ul-1 li {
              font-size:14px;
              line-height:20px;
              font-family:Arial, Helvetica, sans-serif;
    .ul-1 li a {
              color:#b7b7b7;
    .ul-1 li a:hover {
              color:#fff;
    /*********************************fonts*************************************/
    h3 {
              font-size:28px;
              line-height:34px;
              color:#fbecec;
              font-family: 'Amethysta', serif;
              font-weight:normal;
              text-transform:uppercase;
              background:url(../images/bg-3.png) left bottom no-repeat;
              padding:0 0 33px 0;
    h3 span {
              display:block;
              margin-top:-5px;
              color:#f7d3d3;
    h4 {
              font-size:16px;
              line-height:20px;
              color:#dbdada;
              font-family:'Amethysta', serif;
              font-weight:normal;
              text-transform:uppercase;
    .title-1 {
              color:#a0a0a0;
              font-family:'Mr De Haviland', cursive;
              font-size:72px;
              line-height:87px;
              margin:-8px 0 15px 0;
              padding-left:5px;
    .title-2 {
              text-align:right;
              padding:12px 90px 0 0;
              color:#dddcdc;
              font-family:'Amethysta', serif;
              font-size:18px;
              line-height:22px;
              text-transform:uppercase;
    .title-3 {
              font-size:13px;
              line-height:18px;
              color:#fff;
    .title-4 {
              color:#464646;
              font-family:'Amethysta', serif;
              font-size:18px;
              line-height:22px;
              text-transform:uppercase;
              margin-bottom:3px;
    .lh {
              line-height:23px;
    .lh-1 {
              line-height:20px;
    .size-1 {
              font-size:13px;
              display:block;
    .size-2 {
              font-size:11px;
              line-height:14px;
    .color-1 {color:#e4d0d1;}
    .color-2 {color:#dcb0b1;}
    .color-3 {color:#b7b7b7;}
    .color-4 {color:#7e7e7e;}
    .color-5 {color:#b2b2b2;}
    .color-6 {color:#fff;}
    .color-7 {color:#919191;}
    /******* form's ********/
    /***** contact form *****/
              #form1 fieldset {
                        border:none;
                        padding:0;
                                  #form1 label {
                                            display:block;
                                            min-height:57px;
                                  #form1 label.message {
                                            height:232px;
                                  .inp {
                                            display:block;
                                            width:320px;
                                            height:40px;
                                            padding:0 14px;
                                            background:url(../images/inp-1.png) left top repeat;
                                            overflow:hidden;
                                            position:relative;
                                            border:1px solid #343434
                                  #form1 input {
                                            width:320px;
                                            padding:12px 0 12px;
                                            margin:0;
                                            font-family:Arial, Helvetica, sans-serif;
                                            font-size:14px;
                                            height:16px;
                                            color:#666;
                                            border:none;
                                            background:none;
                                            outline:none;
                                  #form1 .area .error { float:none;}
                                  .text_a {
                                            position:relative;
                                            overflow:hidden;
                                            display:block;
                                            width:478px;
                                            height:230px;
                                            padding:0 14px;
                                            background:url(../images/inp-1.png) left top repeat;
                                            border:1px solid #343434
                                  #form1 textarea {
                                            height:216px;
                                            margin:0;
                                            width:478px;
                                            padding:12px 0;
                                            font-family:Arial, Helvetica, sans-serif;
                                            font-size:14px;
                                            color:#666;
                                            border:none;
                                            background:none;
                                            overflow:auto;
                                            outline:none;
                                            resize:none;
                                  #form1 a {cursor:pointer;}
                                            #form1 .success {display:none; margin-bottom:10px;}
                                            #form1 .error,
                                            #form1 .empty {
                                                      color:#f00;
                                                      font-size:11px;
                                                      line-height:18px;
                                                      display:none;
                                                      overflow:hidden;
                        #form1 .buttons-wrapper {text-align:right; padding-top:40px; position:relative;}
                        #form1 .buttons-wrapper a { margin-left:30px;}
              #form2 fieldset {
                        border:none;
                        padding:0;
                                  #form2 label {
                                            display:block;
                                            min-height:57px;
                                  #form2 label.message {
                                            height:232px;
                                  .inp2 {
                                            display:block;
                                            width:318px;
                                            height:40px;
                                            padding:0 14px;
                                            background:url(../images/inp-1.png) left top repeat;
                                            overflow:hidden;
                                            position:relative;
                                            border:1px solid #343434
                                  #form2 input {
                                            width:318px;
                                            padding:12px 0 12px;
                                            margin:0;
                                            font-family:Arial, Helvetica, sans-serif;
                                            font-size:14px;
                                            height:16px;
                                            color:#666;
                                            border:none;
                                            background:none;
                                            outline:none;
                                  #form2 .area .error { float:none;}
                                  .text_a2 {
                                            position:relative;
                                            overflow:hidden;
                                            display:block;
                                            width:318px;
                                            height:230px;
                                            padding:0 14px;
                                            background:url(../images/inp-1.png) left top repeat;
                                            border:1px solid #343434
                                  #form2 textarea {
                                            height:206px;
                                            margin:0;
                                            width:318px;
                                            padding:12px 0;
                                            font-family:Arial, Helvetica, sans-serif;
                                            font-size:14px;
                                            color:#666;
                                            border:none;
                                            background:none;
                                            overflow:auto;
                                            outline:none;
                                            resize:none;
                                  #form2 a {cursor:pointer;}
                                            #form2 .success {display:none; margin-bottom:10px;}
                                            #form2 .error,
                                            #form2 .empty {
                                                      color:#f00;
                                                      font-size:11px;
                                                      line-height:18px;
                                                      display:none;
                                                      overflow:hidden;
                        #form2 .buttons-wrapper {text-align:right; padding-top:40px; position:relative;}
                        #form2 .buttons-wrapper a { margin-left:30px;}
    .map {
              width:350px;
              height:365px;
              margin:0 0 26px;
    /*******

    Hi -
    While I am not familiar with the use of all the span tags I see,
    You said "currently on the "about us" option a sub menu drops down, ive worked out how to  add to this menu and change the words"
    What is the problem doing the same thing under the other top level item?

  • Help needed with CSS drop down menu

    Hi guys,
    I'm trying to build a drop down menu for my site but, despite seeing a few tutorials and examples, I've had no luck yet!
    I'm pretty sure my HTML is correct...
    Code:
        <ul id="nav">
        <li><a href="#">Menu 1</a></li>
        <li><a href="#">Menu 2</a></li>
        <li><a href="#">Menu 3</a>
                <ul>
                    <li><a href="#">Drop Down 1</a></li>
                    <li><a href="#">Drop Down 2</a></li>
                    <li><a href="#">Drop Down 3</a></li>
                    <li><a href="#">Drop Down 4</a></li>
                </ul>
            </li>
        <li><a href="#">Menu 4</a></li>
        <li><a href="#">Menu 5</a></li>
        </ul>
    My CSS looks like this at the moment...
    Code:
    ul#nav {width:920px; height:35px; list-style:none; padding:0; margin:0; background:url(navBg.jpg) repeat-x; font-family:'OpenSansRegular'; font-size:11px; font-weight:700; text-transform:uppercase; -moz-box-shadow:0px 0px 10px #1c1c1c; -webkit-box-shadow:0px 0px 10px #1c1c1c; box-shadow:0px 0px 10px #1c1c1c; z-index:999;}
    ul#nav li a:hover, #nav li a:active {background:url(navOn.jpg) repeat-x; text-decoration:none;}
    ul#nav li a {border-right:1px solid #000; color:#E0E2E7; display:inline-block; float:left; margin:0; padding:10px 19px; width:auto; text-decoration:none;}
    * html #nav li {display:inline; float:left; }  /* for IE 6 */
    * + html #nav li {display:inline; float:left; }  /* for IE 7 */
    ul#nav li ul {left:-9999px; position:absolute; list-style:none;}
    ul#nav li:hover ul {left:0; position:absolute;}
    ul#nav li ul li {}
    ul#nav li ul li a {width:230px; background-color:#efefef; color:#2e2e2e; font-family:Arial, Helvetica, sans-serif; font-size:10px; font-weight:normal; border-bottom:solid 1px #FFF; padding:7px; margin:0;}
    ul#nav li ul li a:hover {background-color:#028efd; background-image:none; color:#FFF;}
    I'm really struggling with this. Does anyone know how I can get Menu 3 to display the four drop down items beneath it - not the same width as the Menu 3 button but just inline with it.
    Thank you very much and I hope to hear from you.
    SM

    Try this. It's been adapted from a menu I previously made on another site.
    #menu {width:920px; height:35px; padding:0; margin:0; background:url(navBg.jpg) repeat-x; -moz-box-shadow:0px 0px 10px #1c1c1c; -webkit-box-shadow:0px 0px 10px #1c1c1c; box-shadow:0px 0px 10px #1c1c1c;}
    ul#nav a {font: 700 11px 'OpenSansRegular', arial, helvetica, sans-serif; text-transform:uppercase; margin:0; padding:5px 15px; line-height:25px; color: #666; text-decoration: none; display:block; list-style: none;}
    ul#nav a:hover, ul#nav a.active {color: #999; background:url(navOn.jpg) repeat-x; text-decoration:none;}
    ul#nav {position: relative; margin: 0; padding: 0;}
    ul#nav ul {display: none;}
    * html #nav li {display:block; float:left; }  /* for IE 6 */
    * + html #nav li {display:block; float:left; }  /* for IE 7 */
    ul#nav li, ul#nav li li {position: relative; float: left; list-style: none; border-right:1px solid #000;}
    ul#nav li:hover ul {position: absolute; top: 35px; left: -1px; display:block; padding: 0; margin: 0;}
    ul#nav li li {width:230px; background-color:#efefef; color:#000;  font: normal 10px 'OpenSansRegular', arial, helvetica, sans-serif; border-bottom:solid 1px #FFF; border-right:none; border-left:1px solid #000; padding:0 5px;}
    ul#nav li li:hover, ul#nav li li a:hover {background-color:#028efd; color:#FFF;}
    <body>
    <div id="menu">
    <ul id="nav">
        <li><a href="#">Menu 1</a></li>
        <li><a href="#">Menu 2</a></li>
        <li><a href="#">Menu 3</a>
                <ul>
                    <li><a href="#">Drop Down 1</a></li>
                    <li><a href="#">Drop Down 2</a></li>
                    <li><a href="#">Drop Down 3</a></li>
                    <li><a href="#">Drop Down 4</a></li>
                </ul>
            </li>
        <li><a href="#">Menu 4</a></li>
        <li><a href="#">Menu 5</a></li>
        </ul>
        </div>
    </body>

  • Need help fixing a CSS Drop-Down menu for IE6

    Hello.
    I have created an entirely CSS drop down menu for my website
    which works perfect in Firefox, Safari, Opera and IE7 however when
    I tested in IE6 it displayed like this -->
    image
    here or go to http://www.runecentral.net/index.php (Must have
    /index.php as i have redirected / to the community forum.)
    Here is my code

    Thank you for your reply.
    To answer your first question, I tried it with just one
    before and it caused Internet Explorer to display the background
    incorrectly so I just kept them both.
    I have replaced background-image with background:
    url(/img/defmenu.png) repeat-x;
    But, I cannot access my XP machine until tomorrow so I cannot
    view the site in IE6, if you could test it and tell me if it is the
    same as the image linked to in my first post that would be great.
    Kind Regards,
    Perry

  • CSS Style drop down menu (contribute 3.11)

    Hi,
    I am having a problem viewing any styles in the styles drop
    down menu at the top of my page when editing.
    I am the administrator of the site and I set up the options
    like this:
    Administrator settings > Styles and fonts >
    Document level CSS (pull down)
    First 3 checkboxes checked, and show only CSS styles included
    in this CSS file (browsed and selected a css file with a single
    style).
    Checked the remainding 3 checkboxes
    No matter what I do I have not been successful in ever seeing
    a style of my own within this list.
    I have tried...
    1) Not using a secure site
    2) Allowing a different user on a different PC to attempt to
    create a new page
    3) Locating the stylesheet in many different locations
    4) Hardcoding the styles into the template
    5) Show all styles (which wouldn't work anyway since the
    pages are PHP based)
    6) Banging head violently against wall.
    I should mention that I am using a PHP based template which
    works fine apart from this styles drop down menu.
    Please please please help (asap)!
    Thanks,
    Dan.

    dotcom012 wrote:
    > I have a web site that uses a javascript and a style
    script to
    > control some drop down menus at the top, each page has
    to have this
    > in the <head> area. Is there a way to make say a
    CSS so that i can
    > say update that one page if say a link needs to be
    changed or added
    > so i don't have to go to each of the 120 pages to change
    the menu! So
    > far right now, i have to go to each page, go into the
    javascript code
    > and update the link or whatever. Is there an easier way?
    You may want to read this article, it shows how to use
    external files (CSS,
    SS-Includes, JS, etc):
    http://www.tjkdesign.com/articles/maintenance.asp
    HTH,
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    CSS Tab Menu:
    http://www.TJKDesign.com/go/?3

  • Seeking: Drop Down Menu Tutorial for DreamWeaver CC (Pure CSS)

    Hey all.
    I'm relatively new to Dreamweaver, and web design in general.  I took on a project to create a small-business website for my buddy.
    I'll start by saying that I've googled, and have found several copy / paste solutions, as well as several plugin-style solutions.  For various reasons, I'm not interested in other methods of creating a menu (jQuery).  Project 7, before you post (like you seem to do in EVERY thread I've read about this topic...), I may purchase your tool later, but I want to learn the process first.
    I'd like to know if anyone knows of a video or a walkthrough of how to create a CSS-only drop down menu for DreamWeaver CC.  An in-depth tutorial will help me better understand CSS and HTML in general, as well as help me navigate the changes in DreamWeaver (namely, the CSS designer).
    Any ideas?

    http://www.w3schools.com/css/css_navbar.asp
    http://cssmenumaker.com/blog/tutorials
    http://www.siteground.com/tutorials/menu/css.htm
    http://ntt.cc/2010/11/24/30-pure-css-menu-tutorials-for-web-developers.html
    Try one of these sites, should have what your are looking for.

  • "undefined" appearing next to text in CSS Drop-Down menu, why?

    Hello everyone,
    I am having a problem with a CSS drop-down menu. The menu works fine, as you can see here:
    http://littlebuddymedia.com/help/011.html
    But the text "undefined" appears next to the main menu options. My question is, why?
    I have narrowed the problem down to this chunk of code:
    <div class="chromestyle" id="chromemenu">
    <ul>
    <li><a href="http://www.dynamicdrive.com">Home</a></li>
    <li><a href="#" rel="dropmenu1">Resources</a></li>
    <li><a href="#" rel="dropmenu2">News</a></li>
    <li><a href="#" rel="dropmenu3">Search</a></li>   
    </ul>
    </div>
    If you remove the rel="dropmenu1" portion of the code, the word "undefine" no longer appears, but then the menu doesnt drop-down anymore.
    Any ideas?
    If it is needed:
    Here is the CSS file: http://littlebuddymedia.com/help/chrometheme/chromestyle.css
    Here is the JS file:http://littlebuddymedia.com/help/chromejs/chrome.js
    Thank you.

    When I use FF to view the generated source, I see this -
    <li><a href="#" rel="dropmenu1">Resources undefined</a></li>
    <li><a href="#" rel="dropmenu2">News undefined</a></li>
    <li><a href="#" rel="dropmenu3">Search undefined</a></li>
    The undefined is coming from the javascript functions that you have loaded in that external file.  This function call is what starts it -
    <script type="text/javascript">
    cssdropdown.startchrome("chromemenu")
    </script>
    If you want 100% reliable drop menus that have been exhaustively tested in all common browsers/platforms, check the ones available from http://www.projectseven.com.

  • CSS Drop Down Menu Problem (only in IE)

    Hi Folks,
    I have just added a new drop down menu and it seems to work perfectly in every other browser except IE.
    In IE the cursor makes the next menu item along drop down and not the one that's hovered over.
    I have removed the jquery script and the same problem occurs, so I reckon it must be a CSS problem. Here's the CSS code in case anyone has any ideas what the problem is.
    Any suggestions would be hugely appreciated cos I can't figure it out .
    Cheers
    Dave
    /*Navigation Menu Style*/
    #topmenu{
    #topmenu #nav, #nav ul{
    font-size:10.5px;
    font-weight:bold;
    margin:0;
    list-style-type:none;
    list-style-positionutside;
    position:relative;
    line-height:35px;
    background-color:#006699;
    width:100%;
    text-align:left;
    #topmenu #nav a{
    display:block;
    padding:0px 5px 0px 10px;
    width:145px;
    border-left-color:#006699;
    background-color:#006699;
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    #topmenu #nav a:hover{
    color:#CFF;
    #topmenu #nav li{
    float:left;
    position:relative;
    #topmenu #nav ul {
    position:absolute;
    display:none;
    width:160px;
    top:35px;
    #topmenu #nav li ul{
    /*padding-bottom:20px;*/
    #topmenu #nav li ul a{
    width:180px;
    height:35px;
    float:left;
    text-transform:capitalize;
    #topmenu #nav li ul a:hover{
    text-decoration:underline;
    #topmenu #nav ul ul{
    top:auto;
    #topmenu #nav li ul ul {
    left:180px;
    margin:0px 0px 0px 10px;
    #topmenu #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
    display:none;
    #topmenu #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
    display:block;
    /*Navigation Menu Style Ends */

    I think that is fine but it did get converted to a smiley face you are right. This is how it looks
    #topmenu #nav, #nav ul{
    font-size:10.5px;
    font-weight:bold;
    margin:0;
    list-style-type:none;
    list-style-position:outside;
    position:relative;
    line-height:35px;
    background-color:#006699;
    width:100%;
    text-align:left;
    it's all on a local set up right non but I will try to pop it up and post a link.
    The symptoms are easy to describe though. When you hover over a top level menu item, the list drops down under the link directly to the right.The positioning isn't random, it is exactly in line, just under the wrong heading.
    In every other browser it seems to be fine.

  • CSS Drop down menu; how to align the right edge of drop down and parent menu?

    Hello everyone,
    I have a drop-down menu that is currently working well.
    The only change I need to make is to have the right edge of the  drop-down menu to align with the right edge of the parent menu. When you  hover over the menu, it currently "drops" down and to the right, with  the left edges aligned.
    I want the menu to "drop" down and to the left, so the right edges are aligned.
    I have tried fiddling with floats and absolute/relative positioning. I'm not sure what needs to be changed.
    Any help you can provide is greatly appreciated! I'm learning via "cut and paste", so please go easy on any terminology you may use.
    Thank you!
    Here is my code:
    .chromestyle{
         width: 100%;
         font-weight: bold;
         float: left;
         height: 29px;
    .chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    .chromestyle ul{
    border: 0px solid #BBB;
    width: 100%;
    background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
    padding: 4px 0;
    margin: 0;
    text-align: right; /*set value to "left", "center", or "right"*/
    .chromestyle ul li{
    display: inline;
    .chromestyle ul li a{
    color: #000000;
    padding: 4px 7px;
    margin: 0;
    text-decoration: none;
    border-left: 1px solid #DADADA;
    .chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
    background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
    /* ######### Style for Drop Down Menu ######### */
    .dropmenudiv{
    position:absolute;
    top: 0;
    border: 1px solid #BBB; /*THEME CHANGE HERE*/
    border-bottom-width: 0;
    font:normal 12px Verdana;
    line-height:18px;
    z-index:100;
    background-color: white;
    width: 200px;
    visibility: hidden;
    .dropmenudiv a{
    width: auto;
    display: block;
    text-indent: 3px;
    border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/
    padding: 2px 5px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    * html .dropmenudiv a{ /*IE only hack*/
    width: 100%;
    .dropmenudiv a:hover{ /*THEME CHANGE HERE*/
    background-color: #0000ff;
    color: #fff200;

    Try this:
    .chromestyle{
         font-weight: bold;
         height: 29px;
    .chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    .chromestyle ul{
    border: 0px solid #BBB;
    width:100%;
    background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
    padding: 4px 0;
    margin: 0;
    text-align: left; /*set value to "left", "center", or "right"*/
    .chromestyle ul li{
    display: inline;
    .chromestyle ul li a{
    color: #000000;
    padding: 4px 7px;
    margin: 0;
    text-decoration: none;
    border-left: 1px solid #DADADA;
    .chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
    background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
    /* ######### Style for Drop Down Menu ######### */
    .dropmenudiv{
    position:absolute;
    top: 0;
    border: 1px solid #BBB; /*THEME CHANGE HERE*/
    border-bottom-width: 0;
    font:normal 12px Verdana;
    line-height:18px;
    z-index:100;
    background-color: white;
    visibility: hidden;
    text-align:left;
    .dropmenudiv a{
    width: auto;
    display: block;
    border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/
    padding: 3px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    * html .dropmenudiv a{ /*IE only hack*/
    width: 100%;
    .dropmenudiv a:hover{ /*THEME CHANGE HERE*/
    background-color: #0000ff;
    color: #fff200;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • CSS Horizontal Drop-down Menues

    Hi,
    I'm looking for help on how to create horizontal drop down
    menu bars using Un-Ordered lists with changing backgrounds but not
    using Java Script, but that work on multiple browsers.
    Thanks
    Brett

    Can't do it wirhout some javascript.
    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
    ==================
    "Theminks" <[email protected]> wrote in
    message
    news:fgc2dd$aue$[email protected]..
    > Hi,
    >
    > I'm looking for help on how to create horizontal drop
    down menu bars using
    > Un-Ordered lists with changing backgrounds but not using
    Java Script, but
    > that
    > work on multiple browsers.
    >
    > Thanks
    > Brett
    >

  • CSS Question on a drop-down menu

    Hello,
    Is there anything wrong with this please?  I'm thinking about the use of hover.  I have a drop-down menu and each item is a different color.
    .primarynav li.menu-item-164     { /*    About  */
    background-color: #0095D7; }
    .primarynav li:hover.page-item-164 { /*    About  */
    background-color: #159CD6; }
    I wonder if it should really be:
    .primarynav li.menu-item-164     a:link { /*    About  */
    background-color: #0095D7; }
    .primarynav li.page-item-164 a:hover { /*    About  */
    background-color: #159CD6; }
    If you're interested the link is http://brightontherapyservice.co.uk
    I'm revisiting this menu after about a year and I am worried that I should have more of the style on the anchor rather than the list item.
    Thanks
    Martin

    Hi Martin,
    I am not sure if i got you correct! let me give it a try...
    a. Do you wanted to give different background color for the sub menus of 'About' on display (not on hover)? 
    .primarynav li.menu-item-462          {
              background-color: #900;
    .primarynav li.menu-item-505          {
              background-color: #360;
    .primarynav li.menu-item-506          {
              background-color: #F30;
    For this to work, you may have to comment out "background-color: #C2E6F5;"  inside the definition
    .primarynav ul ul li a {
    But here I am not sure where else it would affect if you comment out that background color value.
    b. Do you want to give different background color for the sub menus of 'About' on hover?
    .primarynav li:hover.menu-item-462          {
              background-color: #F30;
    .primarynav li:hover.menu-item-505          {
              background-color: #900;
    .primarynav li:hover.menu-item-506          {
              background-color: #360;
    If that was not the question, then please elaborate.
    -Janaki

  • Autocomplete does not work (no drop-down-menu)

    Hi all
    I'm trying to setup the autocomplete-input, but it doesn't
    work. When I type anything into the textbox, the animated image
    beside the box shows activity and I see the submitted data from the
    backend in debug mode, but the drop-down-menu with the matching
    records does not appear.
    if I build a static list of possible choices in the
    cfinput-tag, it works.
    my cfc returns an array and this is serialized as JSON in the
    calling backend-template (see code below). In source code view of
    the html-page, I see lots of java-script and CSS inserted into the
    page.
    any ideas?
    stefan
    calling template:
    <cfsilent>
    <cfscript>
    //Get Query
    locationArray =
    application.addressDao.findLocation(url.term);
    </cfscript>
    </cfsilent>
    <cfoutput>#serializeJSON(locationArray)#</cfoutput>
    relevant part of CFC:
    <cfloop query="qLocations">
    <cfset arrayAppend(records, fPLZ & " " &
    fOrtschaft)>
    </cfloop>
    <cfreturn records/>
    form-page:
    <cfform action="" method="post" name="editForm"
    id="editForm">
    Dynamische Auswahlliste: <br />
    <cfinput type="text" name="ziplocation"
    autosuggest="url:ajaxLocationAutoComplete.cfm?term={cfautosuggestvalue}"
    autosuggestMinLength="3" maxResultsDisplay="10"><br
    />
    <br />
    </cfform>

    Rather a general answer I am afraid, as I can not see an obvious problem & solution:
    # Note for any one off problems with sites it is always worth clearing cookies for that site and cache [[How to clear the Firefox cache]] &[[Delete cookies to remove the information websites have stored on your computer]]
    # Try in safemode (see [[Troubleshoot Firefox issues using Safe Mode]]) that is accessible from your Firefox Button. (but at this stage do not yet try the reset)
    #* next try in safemode and also disable the java plugin that you have (Safe mode disables extensions not plugins)
    #* for info: note Java and Javascript are different animals: http://kb.mozillazine.org/JavaScript_is_not_Java
    # if the above do not help then try the Firefox reset, '''but''' be aware you will loose open tabs, extensions, and certain preferences, you may need to bookmark things first so you can find them again see [[Reset Firefox – easily fix most problems]]

  • How do I link this drop down menu created in Fireworks when I export to dreamweaver, Help!

    Hello everyone,
    Thank you in advance for dealing with my inexperience and answering my question.
    I have been stuck on this for wayyyy too long. Here is my problem. I created a drop down menu for a portfolio website I am building. When I pull this into Dreamweaver the way to link the menu items to the pages is elusive. I have no idea what to do. Please help?
    Here is the screenshot. Thank you very much     Jennifer
    OK, Well no one can actually see this image since it came in so small, but please help me anyway if you can?

    Thank you for answering my question. I created the graphics in photoshop, sliced them in fireworks and now I am pulling the site in dreamweaver to link it. The dropdown is just a little dropdown menu. I created it in Fireworks because when I tried to create one in Dreamweaver I had to use a spry which was even harder to figure out and get to work. If I knew Html or CSS my life would be much easier but I don't. I don't have much time to learn it right now since I work over time all week, do graphics freelance and I go to school for computer science. I need to get this site up and I just want a fast little fix to get it up. When I have time to learn more I can make this site better or start a better site, but for right now it just needs to work. Is there a way to get what I have working so I can just get this site up. Later I will have more time and more experience to do this better. I am learning so thank you for your experience.
    Thanks,
    Jennifer

  • How can change background color of drop down menu navigation?

    Hi,
    I am using multi level drop-down-navigation menu in my website.
    I am get good drop-down menu from htmldrive.net, but problem is how can change menu background color black to other colors.
    please help me
    Link & code is given below
    http://www.htmldrive.net/items/demo/913/Multi-Level-Drop-Down-Menu-Navigation-with-CSS3
    HTML Code
    <div id="nav">
    <ul>
    <li><a href="#">Home</a></li>
    <li><a href="#">About Us</a></li>
    <li><a href="#">Our Portfolio</a></li>
    <li><a href="#">One Dropdown</a>
            <ul>
            <li><a href="#">Level 2.1</a></li>
            <li><a href="#">Level 2.2</a></li>
            <li><a href="#">Level 2.3</a></li>
            <li><a href="#">Level 2.4</a></li>
            <li><a href="#">Level 2.5</a></li>
            </ul>
    </li>
    <li><a href="#">Three Levels</a>
            <ul>
            <li><a href="#">Level 2.1</a></li>
            <li><a href="#">Level 2.2</a></li>
            <li><a href="#">Level 2.3</a>
                    <ul>
                    <li><a href="#">Level 2.3.1</a></li>
                    <li><a href="#">Level 2.3.2</a></li>
                    <li><a href="#">Level 2.3.3</a></li>
                    <li><a href="#">Level 2.3.4</a></li>
                    <li><a href="#">Level 2.3.5</a></li>
                    <li><a href="#">Level 2.3.6</a></li>
                    <li><a href="#">Level 2.3.7</a></li>
                    </ul>
            </li>
            <li><a href="#">Level 2.4</a></li>
            <li><a href="#">Level 2.5</a></li>
            </ul>
    </li>
    <li><a href="#">Services</a></li>
    <li><a href="#">Contact Us</a></li>
    </ul>
    </div>
    CSS CODE
    #nav {
            float: left;
            font: bold 12px Arial, Helvetica, Sans-serif;
            border: 1px solid #121314;
            border-top: 1px solid #2b2e30;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            border-radius: 5px;
            overflow: hidden;
    #nav ul {
            margin:0;
            padding:0;
            list-style:none;
    #nav ul li {
            float:left;
    #nav ul li a {
            float: left;
            color:#d4d4d4;
            padding: 10px 20px;
            text-decoration:none;
            background:#3C4042;
            background: -webkit-gradient( linear, left bottom, left top, color-stop(0.09, rgb(59,63,65)), color-stop(0.55, rgb(72,76,77)), color-stop(0.78, rgb(75,77,77)) );
            background: -moz-linear-gradient( center bottom, rgb(59,63,65) 9%, rgb(72,76,77) 55%, rgb(75,77,77) 78% );
            background: -o-linear-gradient( center bottom, rgb(59,63,65) 9%, rgb(72,76,77) 55%, rgb(75,77,77) 78% );
            box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 0 5px rgba(0, 0, 0, 0.1) inset;
            border-left: 1px solid rgba(255, 255, 255, 0.05);
            border-right: 1px solid rgba(0,0,0,0.2);
            text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.6);
    #nav li ul {
            background:#3C4042;
            background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.09, rgb(77,79,79)), color-stop(0.55, rgb(67,70,71)), color-stop(0.78, rgb(69,70,71)) );
            background-image: -moz-linear-gradient( center bottom, rgb(77,79,79) 9%, rgb(67,70,71) 55%, rgb(69,70,71) 78% );
            background-image: -o-linear-gradient( center bottom, rgb(77,79,79) 9%, rgb(67,70,71) 55%, rgb(69,70,71) 78% );
            border-radius: 0 0 10px 10px;
            -moz-border-radius: 0 0 10px 10px;
            -webkit-border-radius: 0 0 10px 10px;
            left: -999em;
            margin: 35px 0 0;
            position: absolute;
            width: 160px;
            z-index: 9999;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.4) inset;
            -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.4) inset;
            -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.4) inset;
            border: 1px solid rgba(0, 0, 0, 0.5);
    #nav li ul a {
            background: none;
            border: 0 none;
            margin-right: 0;
            width: 120px;
            box-shadow: none;
            -moz-box-shadow: none;
            -webkit-box-shadow: none;
            border-bottom: 1px solid transparent;
            border-top: 1px solid transparent;

    Change this:
    .ddsmoothmenu{
    font: bold 12px Verdana;
    background: #414141; /*background of menu bar (default state)*/
    width: 100%;
    to this:
    .ddsmoothmenu{
    font: bold 12px Verdana;
    background: #new color code;
    width: 100%;
    And repeat this on other selectors.
    Nancy O.

Maybe you are looking for

  • I have rented a movie from iTunes, but cannot get it to play

    The film has downloaded, and on the picture of the film title, there is the word "play" with an arrow.  When I click on the word play, nothing happens.  I have iTunes 10.5, and iTunes has been happy as a clam, and I can listen to music and audio book

  • "Default " problem while migrating from mysql to oracle.

    I'm migrating from mysql3.23 to oracle9i via the OMWB tool.While migrating i'm getting an error message "Failed to create default for the table <table>:ora00907 missing right parenthesis".This error is due to the difference in the syntax used for the

  • Editable region with ecommerce

    Can client without dreamweaver update content in an editable region containing Paypal ecommerce buttons? My client wants to be able to update region with seasonal item photo and add to cart button.

  • Outbound settings in ale

    Hi,    i had done all the settings required for ale in the sending system.i had tested the rfc destination it is logging onto recieving sys correctly,and port is genarated correctly,but when i create the purchase order idoc is not getting genarated i

  • Batch sequence to remove document JavaScript

    Does anyone know of a batch sequence that can remove the document JavaScript from a group of Acrobat 9 Pro PDFs?