Grow your CSS skills. Land your dream job.

How To Make Text “in front” of image?

  • # January 19, 2011 at 11:47 pm

    Hello guys.
    I bump into a small problem here. You see in the bottom of the text, there is a permalink with a text “say hullo here”. But because I put a huge image replacement inside h3 tag, I can’t click the link. Somehow the image is layered above the text. The problem just occur in the lower part of the body text, otherwise, it’s ok.

    What do you suggest?
    Thanks.

    # January 20, 2011 at 12:47 am

    Your link is improperly coded.

    # January 20, 2011 at 1:10 am

    Whopsie. Sorry. Try it again :).

    # January 20, 2011 at 5:40 am

    Hey Memento,

    A quick fix would be this.

    On your H2 tag Ganis Angger Atmawarin with the background image change your z-index: auto; to:

    z-index: 1;

    On your content_sec add this:

    z-index: 1000;
    position: relative;

    Hope this helps,

    Sliver37

    # January 20, 2011 at 10:02 am

    Sliver, that’s solve the problem. You are the man. Thank you very much.

    # March 22, 2013 at 2:16 am

    Hey
    **sliver37** thank u!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".