A Fixed Background Image

An example of a fixed background on a page

Back to Tutorial

A fixed background is a background image that will stay in one place while the rest of your text and images scroll over the top of it. Back when this was originally written, this effect could only be seen in Internet Explorer, but if you use Cascading Style Sheets instead you can have this working in most modern browsers.

random image used to take up space

Extra text and junk so the page will scroll

...................

....................

......................... ..............................

The tutorials on these pages are © 1997-infinity by John Pollock and may not be reposted without written permission from the author, and may not be reprinted for profit.

+++++++++++++++++++++++++++++

--------------------------------------------------------

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

@@@@@@@@@@@@@@@@@@@@@

##################################

***********************************************************

***********************************************************

***********************************************************

***********************************************************

***********************************************************

***********************************************************

***********************************************************

Back to Tutorial