Wrapper background image gets cut off at the top
Posted
by
dq7133
on Stack Overflow
See other posts from Stack Overflow
or by dq7133
Published on 2012-03-25T17:25:07Z
Indexed on
2012/03/25
17:29 UTC
Read the original article
Hit count: 224
My site has a wrapper with three background images. A static top and bottom image and a third image that repeats along the y axis. For some reason the top background image is getting cut off and I can't figure out way.
Here is a link to the live site: http://storrepictures.weebly.com/projects.html
I have offset the top and bottom images so you can see what they look like. You can see that the top one is cut off. I've tried messing around with some of the div padding settings but can't seem to get it to work.
One interesting note: The background images used to be JPEGs (I switched to PNG files because I needed transparency). When I was using JPEGs this was not a problem - the three images lined up perfectly.
Let me know if it would help to have the actual code posted. From what I've been reading on this forum, people seem to like looking at the live site and I didn't want to make the post too long.
Thanks a lot for all your help.
© Stack Overflow or respective owner