I want to have the background image in the content part not to scroll. If I add the necessary declaration as:
background: url(“images/st-patrick_bg.png”) no-repeat scroll center 80px #FFFFFF;
border-radius: 5px 5px 5px 5px;
padding: 30px 40px;
It places the background image in the horizontal center of the content area. But if I change the scroll to fixed, whether I use center or a pixel value, the positioning is done in the browser window width. You can see the scrolling BG at:
I will appreciate assistance with this.
When you set the background-attachment to fixed, by default it “fixes” relative to the viewport, not the container:
Thank you Tony, it was more a curiosity question than a must have. I will not pursue it.
how did you do the login? on the side bar nice site!
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.