background-position values: need help
-
My theme is located at https://dev.artsandletters.biz/arts
Note the background image I’m trying to run behind the content. I want that background to begin after the header gif image of the manilla folder tab. I’ve referred to various sites if I’m using the background-postion property wrong, but it appears not.
I must be missing something. I need someone else to look at the code below and the example and tell me why the image is not starting at 120px down from the top of the page div. (And I currently have the left value set at 250px so that you can see the header gif image’s tab — otherwise all you’d see is one solid background behind the page.
Here is the code:
body { font-size: 62.5%; /* Resets 1em to 10px */ font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; background: #c3996b url('images/mapbackground.gif'); color: #333; text-align: center; } #page { background: url('images/manilla-background.gif') repeat-y; background-position: 250px 200px; text-align: left; } #header { background: url('images/bip-folder-header.gif') no-repeat bottom center; }
FYI: the header has a height of 120px, the page has a top margin of 20px. You can see that the image is starting at the top of the page div but it’s not supposed to. It’s supposed to start at the bottom of the header gif.
Am I just missing something here?
- The topic ‘background-position values: need help’ is closed to new replies.