mirrormere.com News
Backgrounds, by Christopher Hurley
Backgrounds

Backgrounds are a simple and effective way of jazzing up your web page. Some sites have a bar on the left of the page - that's done with a background image, like this:

   

The Graphic Station Leaving mirrormere.com has a lot of free backgrounds like this.

So, on to adding your background image. Background images are always tiled, so make sure your image accomadates that. The background image is defined in the <body> tag. Just add this small attribute to the tag:
background="image"
so your tag looks something like this:
<body background="image">
There may be other attributes in the tag - it does not matter which order they are in. If you want a background colour as well as or instead of the image, add this attribute to the <body> tag:
bgcolor="hex"

so your tag looks something like this:
<body bgcolor="hex">

For a table of colours and their hexadecimal, go to the Colours tutorial. Most corporate pages use white as their background colour - gray looks dull on their pages. However, a some pages can look very good with a gray background. Most of the time a light background works well, but if you use a dark one use light coloured text.

T3 Network Affiliate
mirrormere.com Network
mirrormere.com
  News
  Authoring
HTML
Design
Style Sheets
JS
  Reviews
HTML Dev
Graphics
Misc

mirrormere
Interactive
  Web Design

Frevo
  Home
  Software
  Reviews

Home

Search

Forums

Chat

Contact

Top Best viewed with Microsoft Internet Explorer 5 Leaving mirrormere.com, at 800x600 or higher.
© 1999-2000 mirrormere Interactive. Legal Notice.
mirrormere.com and mirrormere Interactive are trademarks of mirrormere Interactive.