Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Background-image not showing up

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #280255
    Atron
    Participant

    I’m having troubles getting my background image to show up in browser, although it shows up in the “Split” area on Dream Weaver, coding is below;

    body {
    background-image: url(“../img/Runescape1.jpg”);

    font: 28px ‘Droid Sans’, sans-serif;

    line-height: 20px;

    color: #7d7d7d;

    text-align: center;

    min-width: 980px;
    }

    #280256
    Paulie_D
    Member

    The body will need a height for the image to show up.

    Also check the path is correct and that the text-casing is right. Runsescape is not the same as runescape.

    #280257
    Atron
    Participant

    I did a little adjusting while waiting for a reply this is what I have now
    body {
    background: url(“../img/Runescape1.jpg”)
    no-repeat center center fixed;

    background-size: cover;

    font: 28px ‘Droid Sans’, sans-serif;

    line-height: 20px;

    color: #7d7d7d;

    text-align: center;

    min-width: 980px;

    }

    Now google chrome is throwing a error saying it can’t be found

    #280261
    Paulie_D
    Member

    There you go, sounds like a path error.

    #280289
    Atron
    Participant

    Yeah it was Paulie, It was late for me, I forgot I had to upload the picture to the website too through my FTP lol

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.