Forums

Give help. Get help.

  • # November 13, 2017 at 7:04 pm

    I have a page i’m destining, on this page I’ve got a DIV header with a UL as a menu inside it, this will be 100% width and 100px high, contained in a centered 800px wide container.

    Under this I want an image, I want it full screen width and screen height to the bottom of my screen but showing my header.

    Under this I will have a a footer.

    This is the CSS I have between my header and footer. The image is the right size but my footer sits under my home DIV. Obviously this is wrong so how can I do this?

    [HTML]

    .home{
    background-image:url(Images/bkgd2.jpg);
    position:absolute;
    bottom:0px;
    top: 100px;
    width:100%;
    }

    [/HTML]

    # November 14, 2017 at 12:19 am

    We can’t say anything specific without a little example, but why use the absolute positioning? Because that’s probably the reason why the other content is below this home DIV.
    The footer is positioned, probably, relative to the body, where this home DIV is as well. So they will be on top of each other.

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

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag