Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 12th, 2004, 09:53 AM
artzan artzan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 5 artzan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
IE5 Filter for background gradients

Does anyone know how to code a page, table cell or div background, the kind that would start with one color and end with another color?

Thanks

Reply With Quote
  #2  
Old March 25th, 2004, 09:04 PM
ziotech ziotech is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 ziotech User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Script for gradient backgrounds and tables

Remember, this script will not work in earlier versions of IE and and some versions Netscape.

<html>
<head>
<title>Gradient colors</title>
</head>
<body style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#003EC9', startColorstr='#FFFFFF', gradientType='0');"></body>

Now transport this to an HTML table (note how we reversed the color order for the table): Remember, the gradient runs from one color to the other, so you want to have highly contrasting colors for your two input values to take advantage of the full effect. Also note the gradientType, which is specified in our example as "0". This produces a vertical blend. If we set this value to "1" we get a horizontal gradation.

<table border="1" cellpadding="0" cellspacing="0" width="90%" style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#ffffff', startColorstr='#ccffcc', gradientType='0');"><tr><td>adfad<br><br></td></tr></table>
</body>
</html>

Last edited by ziotech : March 25th, 2004 at 09:07 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > IE5 Filter for background gradients


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT