What I want to do is, take the top portion for header, which is working.
Now I can’t figure out how to take “some” part of the middle and use repeat-y for the content. Is it possible?
and then I want to use the last part as footer. I can slice the image but I saw some site doing it (which I forgot and can’t find anymore) and thought maybe its good idea.
If I can use some part of an image then maybe using same image all through is a good idea. Again, not sure if its possible.
Hi,
From what I am understanding your image includes the header and footer portion. That would cause problems when it repeats as the BG image for the content div.
Yes you could position it to the left or right with background-position. The thing about repeat-y is that it actually tiles the image vertically in both directions from the starting point.
For example, using the code above. If you set an image to start it’s position at 100px down from the top, it will actually turn around and fill in that 100px space also.
You will probably be better off just slicing out the section that you need to repeat-y.
thanks. I was hoping its possible but I guess I will have to crop those and use one image.
A little different question. If I have image like
–===========++
My page is fixed length and centered. I want to be able to repeat “–” on left side and “++” on right side.
I am guessing the answer is no. But, if lets say I do have 2 images, is it possible then?
problem is, I don’t want to make rest of the page appear white. but half of the page is in different color than other half so I can’t repeat one image.
Here is the link. Right now its just barebones and I just started on it. As you can see, it sort of looks ugly. Not sure how I can make those colors “bleed” to each side. Green with green and red with red. The issue is those while lines. I think I will remove that white line above footer.