![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I`m trying to figure out how to create a fixed image on my page that doesn`t move when the scroll bar is moved. This is what my html source code looks like for the image body background="image.gif" Does it matter whether I use a .jpg or .gif image? How can I make an image stationary in the page? |
#3
| |||
| |||
|
|
I`m trying to figure out how to create a fixed image on my page that doesn`t move when the scroll bar is moved. This is what my html source code looks like for the image body background="image.gif" |
#4
| |||
| |||
|
|
Bier de Stone wrote: I`m trying to figure out how to create a fixed image on my page that doesn`t move when the scroll bar is moved. This is what my html source code looks like for the image body background="image.gif" Here's what I use on my web page. gif or jpg does not matter. BODY bgProperties=fixed BACKGROUND="clouds.jpg" Let me know if it works for you. |
#5
| |||
| |||
|
|
Gazing into my crystal ball I observed Elephant <elephant (AT) the-zoo (DOT) com writing in news:4290A674.1345 (AT) the-zoo (DOT) com: Bier de Stone wrote: I`m trying to figure out how to create a fixed image on my page that doesn`t move when the scroll bar is moved. This is what my html source code looks like for the image body background="image.gif" Here's what I use on my web page. gif or jpg does not matter. BODY bgProperties=fixed BACKGROUND="clouds.jpg" Let me know if it works for you. Background for the Body element is deprecated for HTML 4.01, as is bgProperties. Use css: Body {background-image:url("clouds.jpg"); background-attachement: fixed} One of the good things about using an external stylesheet is that if you get tired of that background, you don't have to go into many, many pages and change the markup. Just one change in the CSS file changes ALL pages. Thanks for the tip. I`ll keep in mind that css is the way to go. Does |
#6
| |||
| |||
|
|
Thanks for the tip. I`ll keep in mind that css is the way to go. Does anybody have a clue to the image size that would best fit a browser window (without image repetition)? |
![]() |
| Thread Tools | |
| Display Modes | |
| |