View Full Version : Z-Index issue? Text layered behind photo. PopBox Script.
07-29-2011, 07:26 PM
I tried posting the code but it's too long...
Click first or second photo, pops up fine, bottom text is behind the photo. You can view the JS by viewing source etc, sorry I can't fit it here.
I spent 2-3 hours trying to figure out the problem but I'm new to JS and it looks like pretty convoluted code I'm using (obviously didn't write it myself, it's by "PopBox.")
Thanks for any time spent helping me, pre-appreciated.
07-31-2011, 07:40 PM
sorry / bump
08-01-2011, 06:01 PM
08-03-2011, 06:23 PM
08-04-2011, 04:33 PM
Just want you to know that I am working on this.
The problem is in your css file.
Hope you are still here.
Ok answer to your problem is
margin: 0 auto;
line-height: 10px; <-- I think this is what you want you had 0px
I see another problem with a box under large image. Where did this come from??
08-04-2011, 07:41 PM
line-height. holy crap. it's always something stupid simple like that.
i'm not sure about that box. that was a background for the text programmed into the JS css and i think i was toying with the padding or margin to try to solve this problem.
i should have disabled all my CSS before posting this to see if that was the problem. well, now i've learned my lesson...
08-04-2011, 11:18 PM
damnit... now i can't figure out what that stupid little pink box was... i think it's in the JS file.
"where did this come from?"
yeah, i totally forgot. wanna race and find out where it is?
08-04-2011, 11:22 PM
nevermind i'm just going to paste the original JS code and not worry about it. thanks again.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.