Forum Moderators: open
It would usually tile only vertically or horizontally. Gradient color shifts in both directions would take a pretty big file size -- so they're possible but not often very practical. I have seen it done, but watch out for readability of your text, since you can't predict what color the background will be for any particular word.
Gif is a better format than jpg, to avoid compression artifacts. To help keep the file size down, you can often reduce the original color palette a bit, depending on which colors you use.
The one thing that IS nice about the filter effect, is that it scales with your background and is extremely smooth in its gradient transitions.
[msdn.microsoft.com...]
Some things worth noting
1. Make the image width at least 1200 pixels in width, because youll need it to go the length of the page and some more to cover large res monitors
2. Keep the height of the gradients relatively small (about 20 pixels) to keep its quality but remain small
apart from that, same as above!
It's better to use a fixed width gradient background. Make the image the bg for a centered table, for instance.
If it's a horizontal gradient it doesn't have to be any taller than 1px. You'll get really good compression on a straight 1 color gradient in both .gif and .jpeg.
Take a 1600*1 (horizontal) or 1*1600 (vertical) black-white gradient image to be used as a background. Click here [hrmsoftware.com] to see how they measure up.
You'll see that the JPGs usually compare favourably to GIFs in terms of size and quality. The PNG-24 leads the way but there are compatibility problems with NN4 (I've heard rumours that NN4 will accept .png images if you make some modifications to the server, anybody know anything of this?).
(edited by: joshie76 at 3:13 pm (utc) on Feb. 14, 2002)