The Wayback Machine - https://web.archive.org/all/20050307220006/http://pub35.bravenet.com:80/forum/3005128411/fetch/375912/
Website Design Forum

Looking for web design techniques or tips?

Ask a Member how they did it on their site! Before you post here, use the Search option on the right to search for the answer to your problem. Most problems have been answered previously.

If you are still having problems, you can open a ticket in the Bravenet Support Center.


  


Return to Website

  Reply
  Home

Subject:   Sticky:   Adding or Changing a Background Image
Name:   Coding Tips
Date Posted:   Dec 28, 04 - 10:28 AM
Message:   To use HTML you need to change the BODY tag to read

<body background="image_name.ext">

or you could use

<body style="background-image: url('image_name.ext')">

Where image_name.ext is the image you want to use as your background.

Using CSS, the code is

<style type="text/css">
body
{
background-image: url('image_name.ext')
}
</style>

This will either go in the HEAD section of your page or in a separate CSS file.

Thanks to forum regular Brisray for the details.
   


  Reply
  Home


powered by Powered by Bravenet bravenet.com