Get a free trial // 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?

    # 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,


    # 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

    **sliver37** thank u!

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed