View Full Version : Background images

10-07-2005, 09:02 AM

I have set up a website that has a table that is 800x500 centered on the page.
It has a background jpeg image that has an image running across the top of it.
The person i am doing it for has the same browser as me (internet explorer) but his is repeating the image (like the table has been dragged down too much) and theres a small section of the top again.
is there any way to stop the box repeating the bg image? or a way round it?

Creative Insanity
10-07-2005, 09:56 AM

<body background="images/image.jpg" bgproperties="fixed">
Now make you image the same size as the DIV in the frame.

But I think it still may repeat once you get txt below the bottom of the image as a BG is a tiling image or colour.

10-07-2005, 10:11 AM
use CSS

<style type="text/css">
.bg {
background-image: url(images/yourImageHere.jpg);
background-repeat: no-repeat;

then assign the class (bg) to the object

<body class="bg"
<td class="bg"
<table class="bg"