• Resolved sagdude2002

    (@sagdude2002)


    Hi – the body of a website has a background color of white. I’m trying to put an image in the background instead of the white color.

    http://www.mikebradbury.net/

    code is:

    /* Main */

    #main {
    width: 900px;
    margin: 0 auto;
    background:#fff; <—- color white —-
    border:#ddd 3px solid;

    I’ve tried deleting the color code and inserting the image code but it didn’t work.
    There is also the body code:

    body {
    margin: 0;
    padding: 0;
    background:#6666FF; <——-color of blue———
    font-family: Verdana,Tahoma, Arial, Serif;
    line-height: 1.5em;
    font-size: 16px;
    font-size: 0.76em;
    color: #000000;

    I’ve tried replacing the color of blue code with the image code and that didn’t work either. I also replaced both color codes with the image code and that didn’t work either. Any ideas? Thank you very much.

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Replacing Background Color With an Image’ is closed to new replies.