PDA

View Full Version : 2 BG Images....


Luv_n_Darkness
February 16th, 2003, 01:06 AM
Is there any way for me to use this code:

<STYLE TYPE="text/css">
BODY {background-image: url(16.png);
background-repeat: no-repeat;
background-position: 200px 200px;
background-attachment: fixed;}
</STYLE>

Wells using <Body background="BG16.png">

????
So that one image will be repeated, behind the fixed BG Image.

Is there any way????

Thanx'

enat66
February 16th, 2003, 01:27 AM
I'd use an image editor to do so then use that as the background.

Steven.Bentley
February 16th, 2003, 04:25 PM
You can do this by having one image as the background of the image object and having one as the background of a table cell in which all the other content goes.

Luv_n_Darkness
February 16th, 2003, 07:04 PM
Ya, I thought that one through, but the image is too small for the table and begins to repeat it's self.

So, would there be a code, so that the Background Image of the table, can be put at a fixxed position, and made so that it will not repeat????

Much like the:

<STYLE TYPE="text/css">
BODY {background-image: url(16.png);
background-repeat: no-repeat;
background-position: 200px 200px;
background-attachment: fixed;}
</STYLE>

But for a table????

Thanx'

Steven.Bentley
February 17th, 2003, 08:05 PM
yep style="background-repeat:none" will work in a td tag

StoaVio
March 8th, 2003, 05:58 AM
This would be your CSS code:
BODY {
background-attachment: scroll; background-image: url(image path here); background-repeat: repeat-x;


This would be inserted into the <td> tags if I'm understanding correctly:

style="background-attachment: fixed; background-image: url('image path here'); background-repeat: repeat" WIDTH= HEIGHT= valign="top"

good luck