Forum Moderators: not2easy
I'm having trouble to have the background of my site, be fixed with no repeat.
I have this:
padding: 0 20px;
background-attachment: fixed;
background-image: url(../graphics/background.jpg);
background-repeat: no-repeat;
When having it like above, no background shows.
When I remove
background-attachment: fixed;
the background shows, but scrolls with the page.
What am I doing wrong?
Thanx so long for your help.
Deon
Thank you very much for your help. Now
I need to understand something. My question refers to <snip> I have added the background to the body tags and said it must be fixed. this works 100% - but, Why can I do not have the same in one of my <div>'s?
What I want to achieve is to have the background fixed and my div's must be transparent.
Is this possible?
Thanx again.
Deon
[edited by: engine at 10:59 am (utc) on Oct. 7, 2008]
[edit reason] No urls, please post code [/edit]