Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2008
    Thanked 2 Times in 2 Posts

    Links and CSS z-index

    I needed to get a div with a background image in a certain spot on my page with position:absolute, and I had to make the div a z-index of -1. This worked fine, except in the same div there are links and text that need to be normal instead of covered up. So I tried setting the div (inside the z-index:-1'd div) to z-index: 1 !important. This doesn't work.

    Does anyone know how to make the links clickable?

    Here is the page that is not working. The links are in the div that says "You are not logged in", except they show up when you are logged in. It's in the same div, however, so you can still see that you can't highlight the text that says "You are not logged in."

  2. #2
    Senior Coder twodayslate's Avatar
    Join Date
    Mar 2007
    Thanked 39 Times in 39 Posts
    Make the links position: relative; this puts them in front. Not 100% sure on your question so I am sorry if I didn't answer it.

    Please correct your signature so it isn't shouting at me. Thank you.
    twitter | Quality Hosting - $5.95/mo*
    Feel free to PM me!


Posting Permissions

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