Sunday, May 23, 2004

Making a gradient is harder than it should be

So I wanted to make the banner on the top of this page a little more interesting than the rounded red rectangle. A nice gradient should do. Much easier said than done. I ended up having to create 3 DIVs, one in the dark color with the rounded edges on top, one with the lighter color and rounded edges on bottom, then a third one in between that actually does that gradient using a DX Image Transform to actually get the gradient. I bet that if I view this on a non-IE machine, it will look icky.

But it does look better than before.

1 comment:

Anonymous said...

Ooookay. And why did you not ask me to make you a banner? o.o