Help and Support
 

powered byLive Search

Les fichiers PNG n'affichent pas les zones transparentes dans Internet Explorer

Numéro d'article:294714
Dernière mise à jour:jeudi 19 juillet 2007
Version:4.3
Ancien nº de publication de cet article : F294714
Cet article peut contenir des liens vers des informations en langue anglaise (pas encore traduites).

Résumé

Lorsque vous affichez une page Web qui contient une image au format PNG (Portable Network Graphics) comprenant un arrière-plan transparent, l'arrière-plan de l'image peut s'afficher en gris au lieu d'être transparent.

Plus d'informations

Les développeurs de sites Web qui travaillent avec des fichiers PNG peuvent utiliser le filtre AlphaImageLoader, comme illustré dans l'exemple suivant :
<html>
<head></head>
<body bgColor="blue">
<!-- This DIV is the target container for the image.  -->
<DIV ID="oDiv" STYLE="position:absolute; left:140px; height:400; width:400;
     filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
     src='image.png', sizingMethod='scale');" >
</DIV>
</body>
</html>
				
Pour plus d'informations sur le filtre AlphaImageLoader, reportez-vous au site Web MSDN (Microsoft Developer Network) à l'adresse suivante (en anglais) :
http://msdn2.microsoft.com/en-us/library/ms532969.aspx (http://msdn2.microsoft.com/en-us/library/ms532969.aspx)
Pour plus d'informations sur le développement de solutions Web pour Microsoft Internet Explorer, reportez-vous au site Web de Microsoft aux adresses suivantes (en anglais) :
http://msdn2.microsoft.com/en-us/ie/default.aspx (http://msdn2.microsoft.com/en-us/ie/default.aspx)

http://support.microsoft.com/iep (http://support.microsoft.com/iep)

Les informations contenues dans cet article s'appliquent au(x) produit(s) suivant(s):
?Microsoft Internet Explorer 6.0 sur le système suivant
  Microsoft Windows XP Home Edition
  Microsoft Windows XP Professional
  Microsoft Windows XP Media Center Edition
  Microsoft Windows XP Tablet PC Edition
  Microsoft Windows XP Professional x64 Edition
  Microsoft Windows 2000 Advanced Server
  Microsoft Windows 2000 Datacenter Server
  Microsoft Windows 2000 Professional Edition
  Microsoft Windows 2000 Server
  Microsoft Windows NT Server 4.0 Standard Edition
  Microsoft Windows NT Server 4.0, Terminal Server Edition
  Microsoft Windows NT Workstation 4.0 Developer Edition
  Microsoft Windows Millennium Edition
  Microsoft Windows 98 Second Edition
  Microsoft Windows 98 Standard Edition

Retour au début

Mots-clés : 
kbinfo kbdhtml KB294714
L'INFORMATION CONTENUE DANS CE DOCUMENT EST FOURNIE PAR MICROSOFT SANS GARANTIE D'AUCUNE SORTE, EXPLICITE OU IMPLICITE. L'UTILISATEUR ASSUME LE RISQUE DE L'UTILISATION DU CONTENU DE CE DOCUMENT. CE DOCUMENT NE PEUT ETRE REVENDU OU CEDE EN ECHANGE D'UN QUELCONQUE PROFIT.

Traductions disponibles

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.