Forums

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

Home Forums CSS HTML Background Image

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44426
    Cathyk
    Participant

    I’ve followed the discussions for placing the perfect background image using the html method:

    html {
    background: url(images/bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    }

    I don’t want this image to download or display on cell phones, smaller media. I’ve tried placing a display none on the image and it’s not working. Any suggestions?

    #133501
    Cathyk
    Participant

    Thanks, this works great!

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