Forums

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

Home Forums CSS How do i make this wonderfully moving background?

  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #34117
    Faberuna
    Member

    I what to add a background to the middle of my site: http://www.faberuna.com, like the way that http://www.design-seeds.com/ does it. What is the code that I would have to add to make this happen? I like that it moves with the size of the browser window. Any help would be great!

    #85870
    Faberuna
    Member

    Thanks for the reply. Actually, I’m referring to the white space that is directly behind the main blog content. If you resize the browser window the white space moves and stays centered behind the content. I want to be able to do the same thing.

    #85871
    wolfcry911
    Participant

    its just a white background on the inner container

    #85872
    Faberuna
    Member

    I want to do the same except I would like it to extend about 15 px on both sides of the container. How would I do that?

    #85875
    Faberuna
    Member

    Thanks! I will give it a go today. I’m a neophyte to coding. So, where exactly do I put this in the style.css?

    #85876
    Faberuna
    Member

    I want to make sure that my colorful background still shows but that the white background is directly behind the content.

    #85879
    Faberuna
    Member

    OK. It works. But now i notice that it is stretching out the main content. How do I prevent that?

    #85880
    chrisburton
    Participant

    @Faberuna

    .wrapper {
    width: 930px;
    margin: 0 auto;
    position: relative;
    min-height: 100%;
    background: white;
    padding: 0 15px;
    }
    #85881
    Faberuna
    Member

    Cool. I’m being a pest, so I thank you guys for your patience. I’m still having the middle content column pull away from the right sidebar. Before it was evenly spaced between the two sidebars. How do I tweak that so that it is centered?

    #85883
    chrisburton
    Participant

    @Fourize – oops, my fault on the width

    #85884
    Faberuna
    Member

    You guys rock! Exactly what I wanted to do. I’ve already tweaked it to the finished product: http://www.faberuna.com Thanks!

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