Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By Ronald Roe

Thread: z-index not working

  1. #1
    Junior Member jennilynn6's Avatar
    Join Date
    Feb 2013
    Posts
    25
    Member #
    35169

    z-index not working

    Hello, I'm working on this site for a client of mine - you can view the test site here: Chef le Bon

    Client wants the Chef logo to overlap the black section below the header. I've added high z-index numbers to the css of the img, the header section, and its not working... the chef still hides behind the black section. However when I hover over the Chef and he enlarges a bit, he can be seen over the section below. I'm sure this has to be an oversight on my part because I can't imagine this being so complicated but I would appreciate a 2nd set of eyes here. Please and thank you!

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    z-index only works on non-static positioned elements. Add position:relative and it should work.
    jennilynn6 likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  4. #3
    Junior Member jennilynn6's Avatar
    Join Date
    Feb 2013
    Posts
    25
    Member #
    35169
    Thank you!!!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:40 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com