D'Arcy from Winnipeg
Solution Architecture, Business & Entrepreneurship, Microsoft, and Adoption

Displaying Gradients on the Web

Thursday, March 16, 2006 12:04 PM

So I'm working on a new website for the company I work for, and I'm looking at some other sites to get some inspiration. I was looking through Microsoft's website, and seeing how they did their table structures and what not...when I happened accross an interesting line of code:

DXImageTransform.Microsoft.Gradient(startColorStr='#CEDFF6', endColorStr='#1E77D3', gradientType='1')

So I called out “Oh great Google, please tell me what this means” and the response I got was this:


Apparantly there's a built in gradient filter in IE that will allow you to make the kewl gradients like what you see on the Microsoft main page at the top. Very kewl indeed.



# re: Displaying Gradients on the Web

first of all it will work only in IE next its doesnot conform to standards. A lot of people out there get totally put off if the website doesnot work properly in thier browser Read that as firefox 3/16/2006 7:47 PM | A. N. Jacob

# re: Displaying Gradients on the Web

That's ok that it only works with IE. You might want to consider whether you use it for any public facing site, but if you have an environment where you can control the browser usage (like within a company for example) why not use tools like this that are available? I don't count it being IE only as a bad thing.

Next you say that it doesn't conform to standards...what you really mean is what you mentioned in your first post: its IE only.

D 3/17/2006 7:47 AM | D'Arcy from Canada

Post a comment