Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in HTML CSS only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
HTML CSS
Background image; fixed vs scrolling
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
rsr2
New Member
Join Date:
Jan 2007
Posts:
8
#1
Background image; fixed vs scrolling
May 10 '07, 03:00 PM
Sorry im new to this but How do I fix a background image so that it doesn't move when I scroll up and down?
philleep
New Member
Join Date:
Mar 2007
Posts:
74
#2
May 10 '07, 04:07 PM
Originally posted by
rsr2
Sorry im new to this but How do I fix a background image so that it doesn't move when I scroll up and down?
in css use:
Code:
body{ background:url(yourimage.jpg); }
cheer
philleep
Comment
Post
Cancel
nomad
Recognized Expert
Contributor
Join Date:
Mar 2007
Posts:
664
#3
May 10 '07, 09:08 PM
Originally posted by
philleep
in css use:
Code:
body{ background:url(yourimage.jpg); }
cheer
philleep
note when you make your .jpg make sure you size it to your table..
ie if your jpg is 400 by 240 and your table or frame is 600 bu 500 your jpg will repeat until it fills the space.
nomad
Comment
Post
Cancel
riccom
New Member
Join Date:
Apr 2007
Posts:
8
#4
May 11 '07, 03:21 AM
Originally posted by
rsr2
Sorry im new to this but How do I fix a background image so that it doesn't move when I scroll up and down?
Hi.
body{
background-image:url(youri mage.jpg);
background-attachment: fixed;
}
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment