Grow your CSS skills. Land your dream job.

Make child div show behind parent div

  • # April 6, 2012 at 9:57 pm

    Hi everyone,

    Does anyone know if it is possible to make a child div be placed behind the parent div?

    What I am basically trying to do is have a footer which is always at the bottom of the main content- that works. But I want the main content to slightly overlap the footer, so the footer needs to be behind the main content.

    Here is a jsfiddle to help explain what I mean.
    http://jsfiddle.net/zk8VN/1/
    Regards
    Aleksander

    # April 6, 2012 at 10:39 pm

    It sure is: http://jsfiddle.net/UmVvd/

    # April 7, 2012 at 2:45 pm

    thanks! :)

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

You must be logged in to reply to this topic.

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