Forums

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

Home Forums CSS Background Problem

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #273562
    Rowletdude
    Participant

    /Selector{
    property: value;
    }
    /

    body {
    background-image: url(BackGroundimage.JPG);

    background-size: cover;
    

    }
    h2 {
    color: #A5C663;
    text-align: center;
    cursor:pointer;
    }

    p {
    color: #555500;
    text-align: center;

    }

    li {
    list-style: none;
    display: inline-block;
    }
    ……………………………………………
    this is my css code but the background dosen’t appear i use sublime text 3 and chrome

    #273565
    Paulie_D
    Member

    We have now way of telling from this small piece of code.

    A demo would be required (ideally in Codepen) but check the path of the image and the casing for the filename is correct. BackGroundimage.JPG is not the same as backgroundimage.jpg

    #273566
    Ricky55
    Participant

    Always use lower case letters, separate letters with a hyphen –

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