Horizontal dropdown menubar - Vertical dropdown menubar

Hi,
I would need help to turn a horizontal dropdown menubar to a vertical dropdown menubar. I am not experienced with CSS so don't know how to change code correctly. I would like to get submenu going vertically beside main menu.
http://www.villalotus.net/TEST/test.htm
Thanks in advance!

Thank you Ken!
Unfortunately I didn't find help from tutorials. I manged to turn menu vertically but submenu goes on top of main menu.
  /*main nav*/
nav {
          margin-left: auto;
          margin-right: auto;
ul {
          padding: 0;
          margin: 0;
nav ul {
          list-style: none;
          font-weight: bold;
          font-size: 20px;
          margin: 5px;
          width: 180px;
nav ul ul {
          display: none;
          margin: 0px;
          padding: 0px;
nav ul li {
           position: relative;
nav ul a {
          display: block;
          width: 160px;
          text-align: center;
          text-decoration: none;
          color: #fff;
          border: 1px solid #004c99;
          border-radius: 8px;
          margin-right: auto;
          margin-left: auto;
          padding-top: 5px;
          padding-right: 9px;
          padding-bottom: 5px;
          padding-left: 9px;
nav ul a:active       {
          background: rgba(255,255,255,0.4);
          color: #FFF;
nav ul li a:hover, ul a:focus {
          text-decoration: none;
          background-color: #6699cc;
          color: #FFFFFF;
nav ul a:link, nav ul a:visited {
          background: rgba(255,255,255,0.2);
          color: #FFFFFF;
nav ul li a {
          margin-top: 0px;
nav ul ul li {
            position: relative;
nav ul ul li a {
          color: #fff;
          margin: 0px;
nav ul ul li a:hover {
          background: #6699cc;
nav ul ul li a:active, ul ul li a:link , ul ul li a:visited{
          background-color: #3370AD;
nav ul li:hover {
          margin-top: 0px;
nav ul li:hover> ul{
          display: block;
          position: relative;
nav ul:after {
          content: "";
          clear: both;
          display: block;
Message was edited by: Karonaful

Similar Messages

  • Spry menubar submenu horizontal instead of vertical

    I have spent two days trying to figure out why the submenu on my spry menubar goes horizontal instead of vertical.  I have watched youtube videos and all the tutorials automatically have them going vertical under each other.  My submenu bar goes left to right and i dont want that.  I have tried several changes with the code in CSS and the HTML and I can move the main menubar and the submenu all over the screen, just cant get it do drop down under each other.  Help please!!

    Have a look here for auto widths http://labs.adobe.com/technologies/spry/samples/menubar/AutoWidthHorizontalMenuBarSample.h tml.
    The only change I would make to the above is to add !important to the following
    ul.MenuBarHorizontal ul li {
        display: block;
        float: none !important;
        width: auto;
        white-space: nowrap;
        border-bottom: solid 1px #EEE;
    Gramps

  • CSS (Responsive) Horizontal Dropdown Menu (Alignment)

    I am styling a Responsive CSS Horizontal Dropdown Menu (for hours now), and can not get the main menu headings (Directory, Resources, etc) to align left (even) with the logo and content divs. I would also like the submenu headings (Learning & Games) and items (Catch the Bullet, Snoopydoo, etc) to align left (even) with the logo and content divs. - Like I am trying to do with the main headings. --I am trying to get the logo, main menubar heading, and menubar subheading to all align the same left.
    (Optional) I am considering on not having the gray menuboard span the whole screen when opened. Not sure if this would look good, but even more unsure how to keep it in the 90% container the menubar is located in.
    Here is the site for code:
    http://dothopper.com/index.html
    Thanks for any help.

    Another great tip. Never cease to amaze. Thanks . I uploaded the new CSS with red border and looked at somewhat. It seems very helpful, but like this navbar, I'm gonna have to spend some time with. I think this may help me to figure the problem. This is a really GREAT trick, thanks. If you appen to look at my site, and see anything relevant to getting the element to shift left, let me know.
    BTW, crammed some more learning recently (Mostly Dreamweaver, little HTML STructure, and JQuery). Going to try to not use as many divs, (use HTML tags and class selectors). Trying to use captions in my HTML and CSS for organization and understanding. Making copies of all my CSS, JS, and HTML. Set my areas (divs) up as 'section,aside,article,and footer'?--Tried adding metatag info (I think I missed 1 part of the metatag (they wanted a value?). Not sure if my metatagging is correct? Let me know of any advice what I'm doing right/wrong so far.
    I taught myself to design using divs like tables somehwat. With the correct way of design (not using alot of divs)..how would I handle this?...
    My old page (method), I had several,divs:  3- (content75%) and 3- (image25%) all housed within a div (approx 900px). Content was left, and images right. Total DIV that housed them was 75% of 1232px page? (I think)..The div that housed them was approx 900px (.75x1232). Content approx 675px and image approx 225px wide.
    I inseted 480px wide images in that 25% image div and it showed it nicely as approx 225px wide on desktop, and when responsive on mobile, nice full size at 480px. (I think I am/was avoiding having to use alternative images--for each platform-- this way?)
    With the correct way of designing (less divs), how would I handle this scenario above? IF I inserted a 480px image into a approx 900px div with no other divs, it would fill the div with a 480px image. IT would then throw my wole design off. I think I'm just missing some HTML/CSS knowledge. Hope this question makes some kind of sense?

  • Mouse Hover Color in Horizontal Dropdown Navigation

    Hi,
    Mouse Hover color in the Horizontal Dropdown Navigation scheme is not changed even if you apply a different stylesheet. It remains the default blue. Is there a setting some where or it needs to be modified in the navigation scheme.
    thanks
    -Sachin

    Sachin,
    Are you talking about the mouse hover color for the dropdown menu entries? That stylesheet class is defined in a different stylesheet. Look in
    <imageserver dir>\imageserver\plumtree\common\private\js\jsportalmenus\122846\styles\css\PTPMMenu.css.
    The number might be different on your system. If you view the HTML source on a portalpage and search for PTPMMenu.css you will see the number your portal is using. The styleclasses you want to change in PTPMMenu.css are .PTPMMenuBody .hoverand .PTPMMenuBody .hover td. You might also need to change other classes with the highlight color depending on the type of entries you have in your menus.

  • OBIEE 11g Radio Button Value show horizontally instead of vertically

    Hi,
    Can the Radio Buttons Prompt values in OBIEE 11g be shown horizontally instead of vertically on a dashboard prompt.
    Thanks
    Kathy

    I cannot find it in the out of the box functionality. I think it might be possible with some custom programming which I do not have time to investigate.
    If somebody has done this, please let us know if it is possible.

  • Horizontal vs. Vertical Scrolling

    I just picked up a new iMac and it came with OS 10.9 and a Magic Mouse.  I've used a Logitech 8-Button USB mouse so I could have one button double-click, another CMD-W etc...  It was great while I had Snow Leopard.
    Now with Mavericks I can see the benefit to using the Magic Mouse for controlling the full screen apps.  The problem is the "Natural Scrolling" is anything but natural.  Swipe left, things move right.  swipe down, things move up.  This is just wrong.
    Turning off the "Natural Scrolling" option only corrects one of these issues at a time.  If it's on, one goes the right direction, when it's off, the other does.  Is there any way to controll the "Natural Scrolling" option for Horizontal separately from Vertical?

    These things are possible in Captivate using Infosemantics Slider Component widgets, but the widgets are not currently compatible with HTML5 output.
    More details here:
    http://www.infosemantics.com.au/adobe-captivate-widgets/slider-component
    http://www.infosemantics.com.au/adobe-captivate-widgets/slider-component/help
    Trial versions for download here:
    http://www.infosemantics.com.au/adobe-captivate-widgets/download-free-trial-widgets

  • Spry horizontal menu becomes vertical menu

    In IE my spry horizontal menu becomes vertical but is
    stretched to the same width as the horizontal menu is suppose to
    be? Any ideas?

    If horizontal is turning vertical, I have a feeling what is happening is that when you publish it, it's not connected to any style sheet -- or you have the style sheets in the wrong order.
    Remember, with CSS (Cascading Style Sheets) the last stylesheet trumps the earlier one. That's perfectly OK if there are no conflicts, but there may be some that can cause problems.
    Thus, you'd be looking for:
    <link href="styles.css" rel="stylesheet" type="text/css">
    <link href="navigation.css" rel="stylesheet" type="text/css">
    If navigation.css is first, styles.css may be rewriting your styles for your spry navigation.
    Now, I'm going to throw you a curve. Spry has been discontinued and it "going away." I recommend you learn how to make your own navigation and Spry is usually used for drop-down navigation. You can do that in straight HTML and CSS.
    Take a look at my last reply in this forum discussion for a bunch of pretty cool "do it yourself" navigation tutorials.

  • Display the output in horizontally insted of vertical as per date

    hi
    experts
    display the output in horizontally insted of vertical as per date.
    Date :    From ..........  To  .............
    work center         yeild to confrorm                                    date
    W1                         288                                               1.4.2009
                                  256                                                3.4.2009
    Eg
    workcenter    date :   01.04.2009      2.04.2009    3.04.2009    4.04.2009  .......................
      W1                           288                                 256  
        w2                           234                345                               345

    Hi,
    Incase you have to display this in an ALV; then your internal table will be dynamic.
    Your internal table will consists of following fields
    Work Centre
    Date1
    Date2
    DateN
    The date columns will not be of type d but rather character as in this columns you have to store the workcentres in them.
    Create your dynamic internal table using the class CL_ALV_TABLE_CREATE and method CREATE_DYNAMIC_TABLE.
    You will have to create a fieldcatalog table and pass to the method.
    Then use the dynamic internal table created to store your data horizintally against each date column.
    Display the output in an ALV.
    Pass the date values as the description for each date column in the ALV.
    I hope you get the concept.
    Regards,
    Ankur Parab
    Edited by: Ankur Parab on Jun 23, 2009 4:24 PM

  • I can't find anything about how to properly manage the tablet's layout in horizontal or in vertical position.

    I can't find anything about how to properly manage the tablet's layout in horizontal or in vertical position.
    If I consult my website in vertical position, it's ok but, If I turn my tablet, all the hyperlinks and all general visualization are wrong.
    How I can properly handle both views?
    PS: I'm sorry for my bad english

    Could you share the site URL so we may check at our end? Also could you share some screenshots explaining the 'wrong hyperlinks and visualization'.
    Thanks,
    Vikas

  • Flip Horizontal and Flip Vertical

    Hello Adobe,
    Bridge implements rotate 90 cw, 90 ccw, and 180. Having these functions available as a right-click / cmd-click context menu is extremely convenient.
    However, what about the companion flip horizontal and flip vertical operations ? This is a very common thing to want to do - particularly when working with scanned transparency images. Adobe Lightroom implements this - I belive.
    Bridge team, can you add this small feature please ?
    Sincerely,
    Craig Hansen-Sturm

    You can do multiple photo flips in Develop if you turn AutoSync on.  Just make sure to turn it back off as it can cause all kinds of accidental messes

  • When i try to look at my pictures on my iphone horizontally instead of vertically it does not flip the pictures sideways anymore - any suggestions?

    when i try to look at my pictures on my iphone horizontally instead of vertically it does not flip the pictures sideways anymore - any suggestions?

    This is written for the iPad but the same applies to iPhones
    Rotate iPad so the display is in the desired orientation.
    Double-click the Home button to display recently used apps.
    Flick from left to right along the bottom of the screen.
    Tap the Screen Rotation Lock button on the bottom left of the screen.
    A padlock will appear in the Screen Rotation Lock button.
    A small Screen Rotation Lock icon appears in the status bar until you disable Screen Rotation Lock:

  • Will Pavilion 400-434 work properly if placed horizontally rather than vertically?

    Would like to place my Pavilion 400-434 on its side (so cd-drive faces up).  Fits better on my computer shelf.  Will it operate properly this way?  Thank you!
    This question was solved.
    View Solution.

    Hello @rmbnewengland,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how you are looking to place your computer horizontally rather than vertically, and I would be happy to assist you in this matter!
    You can place your desktop horizontally, so long as your system is not equipped with liquid cooling, and that there are no exhaust fans or intakes being blocked. 
    I hope this helps!
    Best Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • How can I split edit css screen horizontally rather than vertically?

    How can I split the edit css split-screen horizontally rather than vertically?

    Unfortunately, Firefox doesn't have a built in "tile two windows side-by-side" command. There might be an add-on for that (in a quick search, I mostly found add-ons to tile two or more tabs rather than separate windows).
    If that sounds completely off topic, can you describe the steps to get to what you're seeing?

  • Is it possible to make a slideshow or presentation without the fading (and horizontal l and vertical) so no transition at all?

    Is it possible to make a slideshow or presentation without the fading (and horizontal l and vertical) so no transition at all?
    (I would like my dog to 'run' more smoothly across the webpage in a very quick slideshow)

    Hi,
    You can set the transition to any of the three options available (fade, vertical and horizontal ) and set the transition speed to  "0" . This would remove all sorts of transition effects from your slideshow.
    Please refer to this screenshot :- http://prntscr.com/4rdaqm
    Hope this helps
    Regards,
    Rohit Nair

  • CSS horizontal menu with vertical dropdowns

    What I would like my menu to look like:
    - solid border on top and bottom
    - first-level menu items horizontal and centered
    - first-level menu items equally spaced as opposed to same
    widths
    - second-level menu items vertical and on individual lines
    What my menu actually looks like:
    www.vicesbyproxy.com/staging/exp_menu_vert.html
    What's wrong:
    - border not on top & bottom
    - second level wrapping within the width of the container
    This CSS is much more complex than what I usually do. Any
    help would be greatly appreciated.

    The only way to go -
    http://www.projectseven.com/products/menusystems/pmm/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "anubia" <[email protected]> wrote in
    message
    news:e5o4gk$28t$[email protected]..
    > What I would like my menu to look like:
    > - solid border on top and bottom
    > - first-level menu items horizontal and centered
    > - first-level menu items equally spaced as opposed to
    same widths
    > - second-level menu items vertical and on individual
    lines
    >
    > What my menu actually looks like:
    > www.vicesbyproxy.com/staging/exp_menu_vert.html
    >
    > What's wrong:
    > - border not on top & bottom
    > - second level wrapping within the width of the
    container
    >
    > This CSS is much more complex than what I usually do.
    Any help would be
    > greatly appreciated.
    >

Maybe you are looking for

  • Concurrent-access logging; best approach

    I have a script that runs on multiple machines at once, and I would like to provide some ongoing single source logging of these activities. As a general rule I think the chance of two machines touching the log at once are slim, but when the script co

  • Problems importing photos....

    my iphoto is acting really funny. When you import photos, it seems as though they have actually imported but then a notification comes up that says that iphoto cannot read the (DSC....IMG...) type of files. now there are areas in my library that had

  • Photoshop elements 11, files on hard drive

    I shoot in Raw. On my hard driven there are two files for every picture, one I can open (the picture) the other is blank, or unsipported or may be an XMP file. Why is this. Do I need additional software in addition to photoshop Elements 11? Jan

  • Frozen apps in Mountain Lion!

    I just upgraded my macbook pro to mountain lion and my built in apps get frozen once the open, this happens with notes, appstore, address book... does any one have any suggestions??? I re-installed ML and solved nothing!!

  • Could you help me

    I had the workflow requirement for Credit Management, i use the transaction FD24. BUSINESS OVERVIEW A credit line is approved by the Credit manager based on the credit application form received from a client.  When this approval/disapproval decision