"Nicole" <Wagner> wrote in message news

...
Hi User,
I have an image, which I want to be the background of a table and / or
table-cells.
e.g. such a table:
<table width="100%" cellspacing=4 cellpadding=7 border=2>
<tr><td> </td>
<th>test 1111111111</th><td> </td>
<th>test 2222222222</th><td> </td>
</tr>
</table>
To get the image into the background is easy: You just write background=url
or similar to the td-tag or to the stylesheet.
The problem comes here:
I am not able to determine HOW the image is repeated in the single cell.
"repeat: no repeat" is not done properly.
And what I am not able to do at all: Draw the image STRETCHED to the
individual cell in its whole of 100%.
What I want to do, is a color effect like this:
http://tanz.or.at/
But I do not want to apply this 100%-stretch-effect to the background-image
of the whole site (would be easy), but to the background of just a single
cell of a table.
Can somebody give me a hint how to do this?
Thanks,
Nicole
Hi Nicole,
Good news! it can be done
This is a little trick that I developed for my site...
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
<td width="100%" height="100%">
<div style="position: relative; top: 0; left: 0; right: 0; bottom: 0; width:
100%; height: 100%;">
<div style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; width:
100%; height: 100%;">PUT YOUR CELL CONTENT HERE</div>
<img src="../images/background.gif" width="100%" height="100%"
galleryimg="no">
</div>
</td>
</table>
Hope this helps
Andy