Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: z-index problems

  1. #11
    Join Date
    May 2014
    Posts
    203
    Thanks
    28
    Thanked 5 Times in 5 Posts

    Default

    Quote Originally Posted by Beverleyh View Post
    Live page links please. If you'd like help, you need to make it easy for us to help you

    I'll reiterate...

    - http://jsbin.com/
    - https://jsfiddle.net/
    - http://codepen.io/pen/
    oh those are helpful. i've seen many of them. i'll have to think about it. it's for a game, and i dunno if i just wanna stick it out there quite yet. sorry about that. i'll figure this out somehow lol

  2. #12
    Join Date
    Jun 2015
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jundo12 View Post
    oh those are helpful. i've seen many of them. i'll have to think about it. it's for a game, and i dunno if i just wanna stick it out there quite yet. sorry about that. i'll figure this out somehow lol
    Hello jundo12, when dealing with z-index, you must always give a display CSS attribute to the containers that you which to have the z-index functionality. Position relative might help too but definitely have a display of like block.

  3. #13
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    You are mistaken dixalex. Z-index only works when position is set - to either absolute, relative or fixed.

    The CSS display property does not affect z-index directly, although display: none; will remove the element from the document.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  4. #14
    Join Date
    Jun 2015
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Beverleyh View Post
    You are mistaken dixalex. Z-index only works when position is set - to either absolute, relative or fixed.

    The CSS display property does not affect z-index directly, although display: none; will remove the element from the document.
    Hi Beverley, thanks for the correction and sorry for the confusion.

    Regards,
    Alex

Similar Threads

  1. Replies: 17
    Last Post: 05-20-2014, 06:48 PM
  2. Changing index.html to index.php TO-DO list
    By BillTheBuilder in forum Other
    Replies: 0
    Last Post: 03-09-2012, 09:37 PM
  3. Static Index page, with changing iframe pages w/o leaving index help
    By Wolfman72 in forum Looking for such a script or service
    Replies: 3
    Last Post: 04-12-2011, 03:19 PM
  4. Featured Content Slider v2.4 Z-Index Problems
    By jesta in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-26-2010, 11:49 AM
  5. Replies: 11
    Last Post: 06-01-2009, 12:12 AM

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
  •