Help with navigation on top of images please

Discussion in 'CSS' started by MoreCoffee, May 11, 2007.

  1. #1
    Hi, I hope someone can help me with this. I'm trying to get a css horizontal navigation to go over a set of images. Every time I try the navigation just pushes the images out of the way, it won't go over them.

    I do not mean a background image that repeats, I just need the menu to sort of "hover" over the images without moving them.

    I hope I'm making sense. Thanks for any help.
     
    MoreCoffee, May 11, 2007 IP
  2. xooMan

    xooMan Peon

    Messages:
    92
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can try "position: absolute;" rule on your menu div. But mind that the parent div (or container div) should also have position: absolute; or position: relative;

    Hope this helps.
     
    xooMan, May 11, 2007 IP
  3. MoreCoffee

    MoreCoffee Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks! That worked perfectly.

    I do have one more question, how can I push the navigation to the right just a little? It's a tad off center and I can't seem to figure out how to push it over. Thank you!
     
    MoreCoffee, May 11, 2007 IP
  4. xooMan

    xooMan Peon

    Messages:
    92
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Try "position: relative; left: <whatever_offset_you_want>px;".

    HTH
     
    xooMan, May 11, 2007 IP
  5. ViscountVics

    ViscountVics Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    what does HTH stands for??
     
    ViscountVics, May 13, 2007 IP
  6. xooMan

    xooMan Peon

    Messages:
    92
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It stands for Hope This Helps.

    Btw, I've just compiled a list of such useful abbreviations:
    forums.digitalpoint.com/showthread.php?p=3112851
     
    xooMan, May 13, 2007 IP