Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    2
    Thanked 1 Time in 1 Post

    Z-Index issue? Text layered behind photo. PopBox Script.

    I tried posting the code but it's too long...

    Page address:
    http://professorcuddlecore.com/paintings/

    Problem:

    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.

  • #2
    New Coder
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    2
    Thanked 1 Time in 1 Post
    sorry / bump

  • #3
    New Coder
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    2
    Thanked 1 Time in 1 Post
    bump bump

  • #4
    New Coder
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    2
    Thanked 1 Time in 1 Post
    pumb pumb

  • #5
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,095
    Thanks
    23
    Thanked 594 Times in 593 Posts
    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

    body {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    width: 600px;
    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??
    Last edited by sunfighter; 08-04-2011 at 04:48 PM.

  • Users who have thanked sunfighter for this post:

    mlg5454 (08-04-2011)

  • #6
    New Coder
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    2
    Thanked 1 Time in 1 Post
    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...

  • #7
    New Coder
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    2
    Thanked 1 Time in 1 Post
    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?

    (smacks forehead)

  • #8
    New Coder
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    2
    Thanked 1 Time in 1 Post
    nevermind i'm just going to paste the original JS code and not worry about it. thanks again.


  •  

    Posting Permissions

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