Grow your CSS skills. Land your dream job.

Background Is Repeating

  • # March 8, 2013 at 10:51 pm

    Hello. My image back ground is repeating have tried no-repeat but then makes it not show?

    background:url(../image/body.png) repeat top center;

    # March 8, 2013 at 11:00 pm

    and also can not get it stretched to 100% height and with

    background: #000;
    background:url(../image/body.png) no-repeat top center;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    padding: 0px;

    # March 8, 2013 at 11:11 pm

    Try background-image instead of background when defining the body.png. Right now, you are defining background twice essentially.

    # March 8, 2013 at 11:18 pm

    I fixed thank you.

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

You must be logged in to reply to this topic.

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