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