with 2 cells in each row. Below are the codes for the images:
However, many jpgs will accept the transparency attribute.
IMAGE AS BACKGROUND - NON-ANIMATED GIFs
This technique is for non-animated gifs. In each of the tables above, a gif was used as the | background. The cells on the left have no transparency; the ones on the right have a 50% transparency for the candles and an 80% for the roses. The code for making transparent gif backgrounds is as follows:
<td background="URL.gif" width=?? height=?? transparency=??%></td>
You can also use the gif as a table background. As you can see, gifs with a black background color do not always make especially successful transparencies. So try to find gifs with white, light colored or transparent backgrounds. You can also combine a bgcolor with a transparency plus the gif background with a transparency for special effects. Just experiment and see what happens.
NOTE: Although this technique will work for many gifs, there are a few that will not fade. If you find one of these, then use the type of code that I used above for jpgs that won't fade.
If you use a GIF with a portion transparent over a table bgcolor transparency, the GIF transparency doesn't work, according to Net4TV.
Also, if a gif will not transparentize, then try changing its size, just by one pixel.
|