Forums

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

Home Forums CSS Static body background

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #185915
    Marc2412
    Participant

    Hey there,

    Here is my website: Click

    Right now the body image scrolls with the page, I want it to not scroll.. here is my piece of code:

    body.custom-background, #header-bottom {
    background: url('http://3.bp.blogspot.com/_ycGxmckMHHA/TG14_WgC7DI/AAAAAAAAATc/h2W0rGt1S3I/s640/15-1.png') no-repeat center center fixed; 
        -webkit-background-size: 100%; 
        -moz-background-size: 100%; 
        -o-background-size: 100%; 
        background-size: 100%; 
        -webkit-background-size: cover; 
        -moz-background-size: cover; 
        -o-background-size: cover; 
        background-size: cover;

    Thanks in advance,

    #185917
    Marc2412
    Participant

    Doing that results in the Header-bottom & body not ”coming together” as you can see now.

    #185921
    Marc2412
    Participant

    body.custom-background is the body (below the slideshow)

    #header-bottom is the area around the slideshow.

    It went from this: http://gyazo.com/ed7dc2eae825c3f86a2b283eae054933

    to this: http://gyazo.com/4e2ab3b33c930f6844b04c85b3b8cd60

    see the difference?

    #185925
    Marc2412
    Participant

    yes, the colour changes

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