How to create a fixed background image on a web page.

Question

How to create a fixed background image on a web page.

Answer

We recommend you use the CSS solution to create a non-titled background image. This page only covers how to do create a fixed background in the HTML BODY tag.

Add the BGPROPERTIES="FIXED" code into the body statement as shown below. If you do not already have a BACKGROUND="" portion in your HTML to point to the image location it will also need to be added.

<BODY BACKGROUND="bg.gif" BGCOLOR="#000000" VLINK="#808080" BGPROPERTIES="FIXED" TEXT="#C0C0C0" LINK="#FF0000" ALINK="#0000FF"><CENTER>.

Additional information

  • Category
  • HTML Q&A
  • Related pages
  • HTML Help
  • Solved?
  • Were you able to locate the answer to your question?