I am trying to accomplish the same effect as this background but don’t know how to get it done. The background slides with page and scroll bars dont appear until the content area width is reached.
Not really regarding your probelm per say, but a more effective way to write that with css short hand –
body {
background: #000 url(../images/bg.jpg) no-repeat fixed;
}
bg position is defaulted to 0 on the y-axis (top) so you don’t have to specify it.
More info on shorthand: css tricks video on short hand css.
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘CSS’ is closed to new topics and replies.