[Home]Background image

HomePage | RecentChanges | Preferences | Newbie Help

HTML Basics

Add this to your BODY tag


The W3C suggest you use CSS now, place this in your HEAD:

<style type="text/css">
body {
background-image: url('bgimage.gif');
background-color: #000000;
With CSS you can also specify if the image should tile, scroll with the page, and position it on the page.

You'll want to specify a bgcolor="" with a colour similar to your background so that people can read your text while they wait for the image to download. So for a dark background image, add bgcolor="#000000" or bgcolor="black" to your BODY tag. -- Mark Gallagher

See also:

Comments --

HomePage | RecentChanges | Preferences | Newbie Help
This page is read-only | View other revisions
Last edited December 22, 2002 11:15 pm (diff)

This FAQ is happily hosted by Betadome Digital Media