DHTML Full Size Background Image Code


This script will make a background image always be the full size of the window, no matter how you resize the window itself.

Script Demo:


Dynamic HTML Code:


Insert this code into <head> tags


Insert this code into <body> tags


Instruction:


Change the following text:

  • You can change the background image by changing the image source attribute of "BACKGROUND.jpg" below. Change this to the exact path of whatever you want the background image to be.
Webmaster » Web Programming » DHTML » Full Size Background Image Code


 Related Links:

Home | Sitemap | Bookmark This Page
Sponsored Links