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 2 of 2
  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    23
    Thanks
    7
    Thanked 0 Times in 0 Posts

    menu under content problem

    i have uploaded my website with css menu at
    eijffinger.ir/2
    now my menu is under content of website and i can't see it completely , how can i solve this issue ?

    this is my menu css source :
    eijffinger.ir/2/style-m.css
    eijffinger.ir/2/dropmenu.css

    website style :

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,748
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Hello 0senjed0,
    Try adding some z-index on that dropped part of your menu, like this -
    Code:
    .dropmenu li div {
        background: url("images/gradient.png") repeat-x scroll 0 0 #FFFFFF;
        border: 1px solid #CCCCCC;
        display: none;
        padding: 5px;
        position: absolute;
        z-index: 1;
    }
    CSS z-index property explained here.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

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