I am trying to get a gradient filter on a table item.
I am using...
<td style="width: 309px; filter:
DXImageTransform.Microsoft.Gradient(EndColorStr=#c0cfe2,
StartColorStr=#ffffff, GradientType=0);">
hello</td>
I have tried changing the case, taking out single quotes and various other
things but it just doesn't work! All the examples I have seen say to use
"progid:DXImageTransform" but if I do this then the editor says the colon is
unexpected.
Any help much appreciated...
Best regards
Mark Baldwin> I have tried changing the case, taking out single quotes and various other
> things but it just doesn't work! All the examples I have seen say to use
> "progid:DXImageTransform" but if I do this then the editor says the colon
is
> unexpected.
> Any help much appreciated...
FWIW, I find it infinitely easier, and, obviously, more cross-browser
compatible to simply use a gradient image and assign it via CSS to the
background of your TD.
-Darrel
Mark,
That's correct, you have to prefix it with progid:. Just ignore the warning.
Eliyahu
"Mark" <swozz_@.hotmail.com> wrote in message
news:en2jwHDmFHA.3960@.TK2MSFTNGP12.phx.gbl...
> I am trying to get a gradient filter on a table item.
> I am using...
> <td style="width: 309px; filter:
> DXImageTransform.Microsoft.Gradient(EndColorStr=#c0cfe2,
> StartColorStr=#ffffff, GradientType=0);">
> hello</td>
> I have tried changing the case, taking out single quotes and various other
> things but it just doesn't work! All the examples I have seen say to use
> "progid:DXImageTransform" but if I do this then the editor says the colon
is
> unexpected.
> Any help much appreciated...
> Best regards
> Mark Baldwin
>
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment