1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

CSS position relative causing my menu not to drop down

Discussion in 'Programming' started by Stephen Wolfe, Jan 25, 2011.

  1. #1
    Hi guys, i have recently been using 960 gird to base my websites on however i have just come across a problem with my drop down menus.

    The 960gird css file uses the relative attribute and so does my menu, so the menu wont drop down over the divs on my page it just goes behind them. When i disable the position:relative on the grid960 css file it works fine but then my page doesn't look right.

    the site im testing the code on is called moneyadviceservice.co.uk its just a load of just on there atm but the menu is there.
     
    Stephen Wolfe, Jan 25, 2011 IP
  2. jeremyhowell

    jeremyhowell Member

    Messages:
    379
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    45
    #2
    Have you tried z-index:99;? Add it to #nav.

    Also just a note for next time this thread should have been posted in the CSS section here. :)
     
    Last edited: Jan 25, 2011
    jeremyhowell, Jan 25, 2011 IP
  3. Stephen Wolfe

    Stephen Wolfe Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ok lol well i deff just messed my site up :/
     
    Stephen Wolfe, Jan 25, 2011 IP
  4. jeremyhowell

    jeremyhowell Member

    Messages:
    379
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    45
    #4
    Lol what did you do? :confused:
     
    jeremyhowell, Jan 25, 2011 IP
  5. Stephen Wolfe

    Stephen Wolfe Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    alll working now cheers
     
    Stephen Wolfe, Jan 25, 2011 IP