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 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2009
    Posts
    26
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Problem with CSS Dropdown Menu

    Hi,

    I hope someone could help me. I am having problem with my dropdown menu.
    I made all right and it should look like this:
    http://tinyurl.com/ompgbq
    In order to decrease black space between menu and titel, I set menu height to auto.
    But when I removed height values (set it to auto) I am getting this:
    http://tinyurl.com/rb36xd
    Now I would appriciate if someone could help me. All I need is that my dropdown menu goes over titel and over
    image gallery container.
    Also on my computer I can't see this page in IE 6. I don't know why is it happening, so if someone could explain me I would be thankful .
    Thanks in advance

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    For making your sub menu over other following contents, you'd need to set an absolute position for your submenu <ul>, and a higher z-index for your menu container. Take a look at the source of http://htmldog.com/articles/suckerfi...le/bones1.html
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Mar 2009
    Posts
    26
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Thanks on your advice and on your link but 'z-index' simple does not work. I tried everything but I could not solve this problem. Simple I don't know what else to do. I am going crazy so please heeeelp Thanks in advance.

  • #4
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    Your stylesheet has a break in its name. it shoudl be like this 'menu_II.css' Change that and see if it makes an ie6 difference.

    Failing that, start with a new blank css file. add each component one by one and see which one makes it disappear.

    I tried validating your css in validator.w3.org and it couldn't find it.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

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