fixing my image

madmfg

New Member
Messages
20
Reaction score
0
Points
0
Hi everyone!
So you know how you can use html coding to "fix" your background in one place? (you can scroll the rest of the page up and down but the background stays in one place) I'm wondering how I can do that with a picture. I've tried adding " imgproperties="fixed" " but that isn't working. To fix the background I copied a bunch of script (i think it was CSS) from another website to use. I'm very new to programming, so any help would be appreciated.
Thanks!
madMFG
 

ichwar

Community Advocate
Community Support
Messages
1,454
Reaction score
7
Points
0
Try putting this in the <head></head> tag of your page.
<style type="text/css">
body{
background-attachment:fixed;
}
</style>
 

jensen

Active Member
Messages
1,167
Reaction score
22
Points
38
Maybe you could post a link to your site and some of us can take a look at the code as well.
 
Top