On 3/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Internet explorer don't render good the png alpha trasparency but
> render well only the png images with the index trasparency, for my blog
> not is a problem but for the future TurboGears site can be a relative
> problem for internet explorer users  that they see a gray rectangle
> background.

This is not necessarily true. IE by default does not display alpha
transparency, but it's fairly simple (though annoying) to tweak the
image so that it will display with full alpha transparency. I don't do
this for most of the images in the page, but I generally consider
something like a logo to be worth the effort. To make things simpler,
I usually do images as div backgrounds if I know I'm going to do the
IE transparency hack.

See:
http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
http://www.alistapart.com/articles/pngopacity/

If validating is important to you, you can stick the behavior in an
IE-specific stylesheet:
<!--[if lt IE 7]>
<link rel="stylesheet" href="/css/iesux.css" type="text/css" media="all" />
<![endif]-->

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to