|
|
|
|
|
|
![]() |
#1 |
They have the Internet on computers, now?
Join Date: Apr 2005
Posts: 148
|
Background images that don't move
I need to know how I can keep a background image stationary and appearing to always be in the same position as the page moves (scrolls down). I hope you know whayt I mean. An example can be found at http://www.mediajobsearchcanada.com
|
![]() |
![]() |
![]() |
#2 |
Life is good
|
I do not know what you mean.
Are you talking about the maple leaf in behind that is scrolling? Easiest thing to do usually is put it in a table and it will stay within the table. Or define the table height and make the image that height too. |
![]() |
![]() |
![]() |
#3 |
If you don’t take a chance the Angels won’t dance
|
I think he's talking about those crappy floating ads that move while you scroll. They are a java script but I can't think of any good list that would list a sub with one of those on there. I believe it was MaxCash that tried to get webmasters to use them several years ago.
|
![]() |
![]() |
![]() |
#4 |
You can now put whatever you want in this space :)
|
if you mean the leaf background, use this in the stylesheet:
BODY { background-image : url(images/background.gif); <~~change this background-position : center; background-attachment : fixed; background-repeat : no-repeat; }
__________________
Submit Your Freesites: |
![]() |
![]() |
![]() |
#5 |
Former pr0n slinger.
|
or if you are just using a simple returning background image:
<body background="image.gif" bgproperties="fixed"> |
![]() |
![]() |
![]() |
#6 |
They have the Internet on computers, now?
Join Date: Apr 2005
Posts: 148
|
Thanks majick, that's it exactly. Works perfectly!
|
![]() |
![]() |
![]() |
#7 |
Lonewolf Internet Sales
|
Be aware, not all browsers support the non-scrolling background attribute.
|
![]() |
![]() |
![]() |
|
|