Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-23-2008, 12:28 AM   PM User | #1
itsjareds
New Coder

 
Join Date: Jun 2008
Posts: 29
Thanks: 0
Thanked 2 Times in 2 Posts
itsjareds is an unknown quantity at this point
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."
itsjareds is offline   Reply With Quote
Old 10-23-2008, 02:23 AM   PM User | #2
twodayslate
Senior Coder

 
twodayslate's Avatar
 
Join Date: Mar 2007
Location: VA
Posts: 1,042
Thanks: 67
Thanked 39 Times in 39 Posts
twodayslate is on a distinguished road
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!
twodayslate is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:38 AM.


Advertisement
Log in to turn off these ads.