Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS z-index and selecting text

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28442
    andyjoe81
    Participant

    Hello friends!

    Ok, so I think I understand z-index pretty much now, except for one thing.

    I have my tree image over my text so when the text scrolls it goes under the image. Down side is, when I try to select text that is within the box range of the image, I’m grabbing the image and not selecting text. Is there any way around this while keeping the image on top?

    http://www.olivetreemusicstudio.com/newdraft

    #72534
    andyjoe81
    Participant

    Sorry, trying to delete this… accidentally reposted

    #72562
    Makeshift
    Member

    you can give paragraphs a z-index of 1…

    Code:
    p { z-index: 1; }
    #72579
    andyjoe81
    Participant

    makeshift… awesome thought. Tried it and look what happened… in Safari it doesn’t seem to have made a difference, but in firefox I don’t even get what is happening. it seems to be dragging a very small box when I try to select text under the tree image. I’m so confused! :-)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.