Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Drop Down Menu going under images

    Hi guys!

    I have been working on this website for a client for a while and he wanted some drop down menus on the site. I have never created them before so I looked up a tutorial on youtube and it worked out great. Problem is now the menus are displaying under my image slideshow when they drop down. Is there a way I could make the drop down go over the images?

    http://mallettedesign.com/reitest/mower/index.php

    This is the site and I am using my server for testing before I move it to the actual site.

    Thanks in advance!

    Mallette

  • #2
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    One option:

    Give the menu container a higher z-index value than the z-index of the images container.

    But since z-index only works on css positioned elements, try giving the <body> position: relative along with the menu and images containers.

    Then give the menu container a higher z-index than the images container.

  • #3
    New Coder
    Join Date
    Feb 2011
    Posts
    41
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Hello ,

    Menu is displaying below the image s for this reason .

    please provide : z-index:999 ;position:absolute; properties if postion absolute already exist

    no need to provide privide higher value for z-index. i hope this would help you


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •