[resolved] Make Stationary Background Page (3 posts)

  1. SayUncle1
    Posted 7 years ago #

    This is for http://www.SayUncleInc.com

    I'm trying to make the background on the website stationary by stopping it tiling across the home page, and make it stationary across all my other tabs (features/ radio etc).

    I've tried to follow this Style code below, but no matter where I place it in the CSS I can't get the home page to stop tiling or make the image stationary on the other pages.

    Any advice would be helpful, thanks.

    <STYLE TYPE="text/css">
    BODY { background-image: url(yourimage.jpg) }
    BODY { background-repeat: no-repeat }
    BODY { background-position: center }

  2. blogmum
    Posted 7 years ago #

    You need
    background-attachment: fixed
    to stop the scrolling (which I assume is what you mean by make it stationary?)
    have a read here.

  3. SayUncle1
    Posted 7 years ago #

    Yes, it was for the scrolling.
    Got it to work, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic