Web 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.

Please do not post advertisements in this forum.



Return to Website

  First
  Prev
  Reply
  Home
Next  
Last  
Search this Forum:  
Viewing Page 1 of 1 (Total Posts: 1)


Author Comment             This topic is sticky
Coding Tips



Dec 28, 04 - 10:28 AM
Adding or Changing a Background Image

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.


  First
  Prev
  Reply
  Home
Next  
Last  


powered by Powered by Bravenet bravenet.com