You might also look at Eric Meyer's workaround http://meyerweb.com/eric/thoughts/2005/01/28/s5-11b4/
Which makes use of Arik Arvidsson's pngbehavior.htc (included). Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _____________________________ http://blog.cutterscrossing.com Rick Faircloth wrote: > Thanks for the advice, Jon! > > Rick > > -----Original Message----- > From: Jon Clausen [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 31, 2007 12:12 PM > To: CF-Talk > Subject: Re: OT: General Question... > > On May 31, 2007, at 11:44 AM, Rick Faircloth wrote: > >> The short experiments I tried with gif's left undesirable >> "jagged" rendering. I had to go to .png to get smooth >> looking graphics. >> >> Maybe I'm missing something. I've been utilizing .jpg's for >> years and not bothering with transparent .gif's. >> >> Is there a way to make them render as well as .png's? >> >> Rick >> > > Rick, > > This is probably because of the matte settings (or lack of) when you > create the .gif image. On gradients this is a PIA and the best > solution (as long as the image is small) is to take a color sample > of the middle value of the gradient and use that as your matte > color. With a solid color background, though, a .gif or PNG-8 with > a matte makes more sense nine times out of 10. File size > between .gif and png-8 is roughly the same (give or take a few bytes) > when created from Fireworks, Photoshop or Illustrator. PNG-24 > provides full transparency which makes it ideal for layering logos > and the like on gradient backgrounds - except for the problems with > IE6 and below. > > I'm not a big fan of javascript PNG fixes, though, for reasons > already mentioned in this thread. IMHO, conditional comments are a > much better solution and you can swap out the any problem images for > IE6 in a separate stylesheet: > > <!-- IE6 and below Styles --> > <!--[if < IE 7]> > <link rel="stylesheet" type="text/css" href="css/ie6.css" > media="screen" /> > <![endif]--> > > The above conditional comment in the <head> section of the document > will serve the IE6 stylesheet to browsers below IE7. You may have > to create a few alternate .gif images to swap out for your png files, > but IMHO it's a better long-term solution as IE7 is become more and > more widely adopted. > > HTH, > > Jon > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279743 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

