SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot Charlie_chalk's Avatar
    Join Date
    Sep 2002
    Location
    THE North East, UK
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My suckerfish style menu won't go in front of content

    Hi

    I've a little problem with the drop down horizontal menu on this page http://www.trunkreclaimed.co.uk/news...exmenutest.htm

    'Gallery' is the only link with the drop down bit, there are eight links within the drop down. The problem comes with the sixth link, it goes behind the content of the page.

    I've tried playing around with z-index, but can't seem to get the result.

    Can anyone please help?

    Thanks

    CC

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Your header has a height of 185px and you have used overflow:hidden. This is hiding any elements contained within that nay exceed the height of the header. take out the overflow and it should work

    Code:
    #header {
     z-index:2; padding:0; margin:0;  width:100%; position:relative; height:185px; background:url(images/headerbg.jpg) top left no-repeat;
    }

  3. #3
    SitePoint Zealot Charlie_chalk's Avatar
    Join Date
    Sep 2002
    Location
    THE North East, UK
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Once again, thanks for all your help Paul!

    Not sure if I should be pleased it was so simple and easy to fix, or if I should be pi$$ed of that it was so simple and easy to fix!

    At least I can now go off to bed knowing things are back on track.

    Thanks again

    CC


Bookmarks

Posting Permissions

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