Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A stylish background

0 views
Skip to first unread message

Bob Phillips

unread,
Sep 26, 2001, 7:33:40 PM9/26/01
to

Hi,

I would like some advice. What I am trying to do is to use CSS to apply a
style to a table cell that will give me a background effect somewhat similar
to a colour fade, i.e. the colour starts at a certain intensity at the top,
and lightens as it gets to the bottom of the cell. I suppose I could create
an image, but I would like to see some imaginative uses of style that will
achieve this, or some other similarly striking effect.

TIA

Bob


biondello

unread,
Sep 27, 2001, 3:28:14 PM9/27/01
to

<style>

td { filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
StartColorStr='#FFFFCC00', EndColorStr='#FFFF3300')}

</style>

"Bob Phillips" <bob.ph...@freeuk.com> wrote in message
news:#Q4XmLuRBHA.1656@tkmsftngp03...

Bob Phillips

unread,
Oct 5, 2001, 6:29:23 PM10/5/01
to

Thanks, but I am afraid it doesn't work for me. I have to also admit that I
don't understand it at all. I have looked up DXImageTransform on MS and
found nothing.

Can you please explain it to me and let me know if I need any special
controls or whatever.

TIA

Bob

biondello <bion...@gmx.net> wrote in message
news:uZLRWp4RBHA.1488@tkmsftngp03...

viza

unread,
Oct 5, 2001, 6:57:51 PM10/5/01
to
Thus quoth Bob Phillips:

>
> Thanks, but I am afraid it doesn't work for me. I have to also admit
> that I don't understand it at all. I have looked up DXImageTransform on
> MS and found nothing.

Time to give up and create an image. A 1px wide png with
background:white url("whatever.png") repeat-x top;

The colour is how you want it to look while the image is loading.
To minimise file size use a palatted image.

--
"Think about how stupid the average person is, and then realize
that half of them are stupider than that!" - George Carlin

0 new messages