Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question infinite image...?

    Hi! I have been working on this new website project and I just want to know how you do those kind of backgrounds that you see as fully shown, but when you make the browser zoom out a little you can see that there still is a background.
    an example page is sidor.com (and I am not spanish)
    could you achieve this with overflow because I am not sure on how to use overflow so that may be the case.
    thanks for any answer!
    //Robin

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,276
    Thanks
    28
    Thanked 272 Times in 266 Posts
    If you mean an image that repeats indefinitely, you would use the background-repeat CSS property for that.

    In this case, you would just take a singe-pixel vertical sliver of the background and use background-repeat: repeat-x and layer that under the content background image. They're repeating at least three much larger background images and layering them to create the silver and red repeating areas off to the side though. That's a waste of bandwidth when they could be using single-pixel-wide images and merge some of them.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • Users who have thanked Arbitrator for this post:

    therobin9810 (05-25-2013)

  • #3
    New to the CF scene
    Join Date
    May 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Arbitrator View Post
    If you mean an image that repeats indefinitely, you would use the background-repeat CSS property for that.

    In this case, you would just take a singe-pixel vertical sliver of the background and use background-repeat: repeat-x and layer that under the content background image. They're repeating at least three much larger background images and layering them to create the silver and red repeating areas off to the side though. That's a waste of bandwidth when they could be using single-pixel-wide images and merge some of them.
    thanks for the answer, much appreciated! //Robin


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •