Questions about backgrounds

Discussion in 'HTML & Website Design' started by hj6577, Oct 27, 2010.

  1. #1
    Hey guys.

    I have a simple question about website backgrounds. How do you make a background for a site that does not move when you scroll up or down a page? Also how do you make a background for a php oscommerce website? Say for example the backgrounds for both questions are a picture background and not just a color background.
     
    hj6577, Oct 27, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Cash Nebula, Oct 27, 2010 IP
  3. hj6577

    hj6577 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ok, I would but I'm not sure how to do that. lol If you could would you tell me how?

    Thanks for the help
     
    hj6577, Oct 27, 2010 IP
  4. hj6577

    hj6577 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Is the background-attachment:fixed; how you do this? I didn't see that sorry.
     
    hj6577, Oct 27, 2010 IP
  5. Turtle85

    Turtle85 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    body {
    background-image: url(image.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    }

    Should work. :)
     
    Turtle85, Oct 27, 2010 IP
  6. Elitegeek

    Elitegeek Peon

    Messages:
    325
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    @hj6577

    Just a suggestion don't use big size background it will just load your site slower. You can use blank background instead to make your site run smoothly to visitors/viewers.
     
    Elitegeek, Oct 27, 2010 IP
  7. hj6577

    hj6577 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hey guys thanks for information.
     
    hj6577, Oct 27, 2010 IP