Results 1 to 4 of 4

Thread: Image to repeat vertically starting at certain point ?

  1. #1
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image to repeat vertically starting at certain point ?

    I have a gradient in the background and I need to repeat another background in the container vertically. Gradient stops at 400px and from this point I would need to repeat that image in the bg. I tried background-position but it doesn't work for some reason.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

  3. #3
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    U didn't understand me .. I need offset background image by 400px and from that point forward repeat it by y axis.

  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Background-position is CSS3 and is not supported by all browsers yet. What you could do is have the image repeat from the top and then an extra container on top of that with the gradient image.

    Good luck!

Bookmarks

Posting Permissions

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