• I have the image file uploaded to my server… What’s wrong with my code that makes it so that the image does not show up?

    site: http://www.moviestinger.com

    Code:

    body {
    font-size: 62.5%; /* Resets 1em to 10px */
    font-family: ‘Trebuchet MS’, ‘Lucida Grande’, Verdana, Arial, Sans-Serif;
    font-weight: bold;
    background-image: url(‘images/kubrickbgcolor.jpg’) top center no-repeat;
    color: #FFFFFF;
    text-align: center;
    }

Viewing 5 replies - 1 through 5 (of 5 total)
  • Change to:
    background-image: url(images/kubrickbgcolor.jpg);
    background-position:top;
    background-repeat:no-repeat;

    if you still need help, you can message me:

    skype: motivatebusiness
    yahoo: motivatebusiness

    background-image: url('images/kubrickbgcolor.jpg') top center no-repeat; is not correct syntax.

    you’re actually asking for the image, the position and the repeat.

    background-image: url(‘images/kubrickbgcolor.jpg’);
    background-position: top center;
    background-repeat: no-repeat;

    or simply:

    background: url(‘images/kubrickbgcolor.jpg’) top center no-repeat;

    Thread Starter nitruc-co

    (@nitruc-co)

    Hmmm when I replace the code the background image still does not show. Instead now it just switches to a white background…

    Thread Starter nitruc-co

    (@nitruc-co)

    also is there a way to delete the header image so that just the background shows where the header is?

    Thread Starter nitruc-co

    (@nitruc-co)

    bump

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Background Image Won’t Show Up…’ is closed to new replies.