background image html
background image html
- Started
- Last post
- 8 Responses
- steadyvibe
is ther a way to get a background image to stay in one place and not move with the scrolling of a page?
- Jnr_Madison0
Yes but I'm sure it only works in IE?
I could be wrong.
- mitsu0
just put it in a div tag with position set to absolute and then set its top position relative to the browsers top pos. on scroll event or in a setTimeout func.
- Jnr_Madison0
Yes, I was wrong.
- mitsu0
oh... i didn't see the word "background"...
nevermind..
- ldww0
you can do it without css by just putting bgproperties="fixed" in your body tag
- sparker0
but using css is the correct, valid and standards way of doing it.
you don't keep building new cars with rusted out, 50 year old parts...why keep using poorly written markup?