No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Filtre div.()

Impossible de trouver des informations à propos du filtre div.().

Information (14/02/2010)

J'avais réalisé cette page le 27/02/2003, dans la fougue de la découverte des possibilités du Web. Je laisse donc ces pages à titre d'information, mais avec le recul je ne suis pas du tout convaincu, car les différents filtres présentés ici ne sont valables que pour le navigateur Internet Explorer.

Exemple de syntaxe

  1. <img src="graphique.gif" style="FILTER: GLOW(color=blue, strength=4)">

Après les deux points suit l'appel au filtre par son nom et ses paramètres séparés par des virgules. Le tout entre parenthèses.
Si un filtre ne demande aucun paramètre, les parenthèses sont tout de même présentes (comme pour un appel de fonction).

Nous pouvons combiner plusieurs filtres pour un même élément, comme le montre l'exemple suivant.

  1. <img src="graphique.gif" style="filter:Blur(strength=50) FlipH();">

Contents Haut

Balises HTML sur lesquelles nous pouvons appliquer les filtres

BaliseApplication
BaliseApplication
bodyla totalité de la page affichée
buttonla surface pouvant être cliquée
divle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
imgle graphique référencé
inputle champ de saisie
marqueele texte déroulant
spanle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
tablele tableau
tdla cellule de données d'un tableau
textareale champ de saisie à plusieurs lignes
tfootle pied d'un tableau
thla rangée d'entête d'un tableau
theadl'entête d'un tableau
trla rangée d'un tableau

Exemples d'utilisation de filtres

Les exemples changent à chaque chargement de la page. Si vous désirez d'autres exemples, vous pouvez recharger la page.

Exemple avec Alpha()

  1. <head>
  2. <title>filter:0()</title>
  3. <meta name="Author" lang="fr" content="Isaac Newton">
  4. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  5. <meta name="Publisher" content="Kernighan">
  6. <meta name="Copyright" content="Brian Kernighan">
  7. </head>
  8. <body>
  9. <h1>Exemple de filtre Alpha</h1>
  10. <div align="center">
  11. <img
  12. src="filter_0.gif"
  13. style="filter:Alpha(opacity=27, finishopacity=0, style=0)"
  14. width="46"
  15. height="64"
  16. alt="Exemple de filtre 0"
  17. border="0">
  18. </div>
  19. </body>
  20. </html>

Contents Haut

Exemple avec Blur()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:1()</title>
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Publisher" content="Postel">
  8. <meta name="Copyright" content="Jon Postel">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 4px;
  14. padding: 17px;
  15. font-family: verdana;
  16. font-size: 12px;
  17. min-width: 772px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. width:100%;
  25. padding:9px;
  26. font-size:42pt;
  27. color:blue;
  28. filter:Blur(direction=0, strength=9)">
  29. Exemples d'utilisation de filtres</p>
  30. </div>
  31.  
  32. <br />
  33. <br />
  34.  
  35. <tr valign="top">
  36. <td width="22%" height="218">
  37. The quick brown fox jumped over the lazy dog.
  38. The quick brown fox jumped over the lazy dog.
  39. </td>
  40. <td width="21%">
  41. &nbsp;
  42. </td>
  43. <td width="57%">
  44. The quick brown fox jumped over the lazy dog.
  45. The quick brown fox jumped over the lazy dog.
  46. The quick brown fox jumped over the lazy dog.
  47. The quick brown fox jumped over the lazy dog.
  48. The quick brown fox jumped over the lazy dog.
  49. </td>
  50. </tr>
  51. </table>
  52.  
  53. </body>
  54. </html>

Contents Haut

Exemple avec Chroma()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:2()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="godwin.william@gmail.com">
  7. <meta name="Copyright" content="William Godwin">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 4px;
  12. padding: 17px;
  13. font-family: verdana;
  14. font-size: 12px;
  15. min-width: 772px;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body bgcolor="#FFFFFF" text="#000000">
  22. width:100%;
  23. padding:10px;
  24. font-size:22pt;
  25. color:blue;
  26. filter:Chroma(color=#cd853f)">
  27. Exemples d'utilisation de filtres</p>
  28. </div>
  29.  
  30. <br />
  31. <br />
  32.  
  33. <tr valign="top">
  34. <td width="22%" height="218">
  35. The quick brown fox jumped over the lazy dog.
  36. The quick brown fox jumped over the lazy dog.
  37. </td>
  38. <td width="21%">
  39. &nbsp;
  40. </td>
  41. <td width="57%">
  42. The quick brown fox jumped over the lazy dog.
  43. The quick brown fox jumped over the lazy dog.
  44. The quick brown fox jumped over the lazy dog.
  45. The quick brown fox jumped over the lazy dog.
  46. The quick brown fox jumped over the lazy dog.
  47. </td>
  48. </tr>
  49. </table>
  50.  
  51. </body>
  52. </html>

Contents Haut

Exemple avec DropShadow()

  1. <head>
  2. <title>filter:3()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Author" lang="fr" content="Emmanuel Kant">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Copyright" content="Friedrich Nietzsche">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 2px;
  12. padding: 17px;
  13. font-family: verdana;
  14. font-size: 14px;
  15. min-width: 736px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. width:100%;
  25. padding:7px;
  26. font-size:12pt;
  27. color:blue;
  28. filter:DropShadow(color=#cd853f, offx=2, offy=3)">
  29. Exemples d'utilisation de filtres</p>
  30. </div>
  31.  
  32. <br />
  33. <br />
  34.  
  35. <tr valign="top">
  36. <td width="22%" height="218">
  37. The quick brown fox jumped over the lazy dog.
  38. The quick brown fox jumped over the lazy dog.
  39. </td>
  40. <td width="21%">
  41. &nbsp;
  42. </td>
  43. <td width="57%">
  44. The quick brown fox jumped over the lazy dog.
  45. The quick brown fox jumped over the lazy dog.
  46. </td>
  47. </tr>
  48. </table>
  49.  
  50. </body>
  51. </html>

Contents Haut

Exemple avec FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:4()</title>
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Reply-to" content="leonhard@euler.net">
  6. <meta name="Copyright" content="Leonhard Euler">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <h1>Exemple de filtre FlipH</h1>
  11. <div align="center">
  12. <img
  13. src="filter_4.gif"
  14. style="filter:FlipH()"
  15. width="70"
  16. height="159"
  17. alt="Exemple de filtre 4"
  18. border="0">
  19. </div>
  20. </body>
  21. </html>

Contents Haut

Exemple avec FlipV()

  1. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <head>
  5. <title>filter:5()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="bill@gates.info">
  9. <meta name="Copyright" content="Bill Gates">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 4px;
  15. padding: 17px;
  16. font-family: verdana;
  17. font-size: 12px;
  18. min-width: 772px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <img
  26. style="filter:FlipV();"
  27. src="5Filter.jpg"
  28. align="center"
  29. width="88"
  30. height="83"
  31. alt="FlipV
  32. appliqu&eacute; &agrave; une image">
  33. <span style="width: 100%; filter:FlipV();">
  34. FlipV
  35. appliqu&eacute; &agrave; du texte
  36. </span>
  37. </body>
  38. </html>

Contents Haut

Exemple avec Glow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:6()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Copyright" content="Arthur Schopenhauer">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. </head>
  10. <body>
  11. <img
  12. style="filter:Glow(color=#8470ff);"
  13. src="6Filter.jpg"
  14. align="center"
  15. width="110"
  16. height="108"
  17. alt="Glow
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:Glow(color=#8470ff);">
  20. Glow
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </html>

Contents Haut

Exemple avec Gray()

  1. <head>
  2. <title>filter:7()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Author" lang="fr" content="Edmond Halley">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="ludwig@wittgenstein.org">
  8. <meta name="Publisher" content="Wittgenstein">
  9. <meta name="Copyright" content="Ludwig Wittgenstein">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 2px;
  14. padding: 17px;
  15. font-family: verdana;
  16. font-size: 14px;
  17. min-width: 736px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <div style="width: 100%; filter:Gray();">
  27. Ceci est un texte avec Gray...
  28. </div>
  29. </body>
  30. </html>

Contents Haut

Exemple avec Invert()

  1. <head>
  2. <title>filter:8()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Author" lang="fr" content="Georgui Plekhanov">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="hopper.grace@infobrol.edu">
  9. <meta name="Publisher" content="Hopper">
  10. <meta name="Copyright" content="Grace Hopper">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 2px;
  15. padding: 17px;
  16. font-family: verdana;
  17. font-size: 14px;
  18. min-width: 736px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. width:100%;
  28. padding:4px;
  29. font-size:22pt;
  30. color:blue;
  31. filter:Invert()">
  32. Exemples d'utilisation de filtres</p>
  33. </div>
  34.  
  35. <br />
  36. <br />
  37.  
  38. <tr valign="top">
  39. <td width="22%" height="218">
  40. The quick brown fox jumped over the lazy dog.
  41. </td>
  42. <td width="21%">
  43. &nbsp;
  44. </td>
  45. <td width="57%">
  46. The quick brown fox jumped over the lazy dog.
  47. The quick brown fox jumped over the lazy dog.
  48. </td>
  49. </tr>
  50. </table>
  51.  
  52. </body>
  53. </html>

Contents Haut

Exemple avec Mask()

  1. <head>
  2. <title>filter:9()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Author" lang="fr" content="Jacques Pitrat">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="hopper.grace@infobrol.edu">
  7. <meta name="Publisher" content="Hopper">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10. </head>
  11. <body>
  12. <div style="width: 100%; filter:Mask(color=#8470ff);">
  13. Ceci est un texte avec Mask...
  14. </div>
  15. </body>
  16. </html>

Contents Haut

Exemple avec Shadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:10()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="charles@fourier.org">
  9. <meta name="Publisher" content="Fourier">
  10. <meta name="Copyright" content="Charles Fourier">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 2px;
  15. padding: 17px;
  16. font-family: verdana;
  17. font-size: 14px;
  18. min-width: 736px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. width:100%;
  28. padding:4px;
  29. font-size:10pt;
  30. color:blue;
  31. filter:Shadow(direction=90, color=#cd853f)">
  32. Exemples d'utilisation de filtres</p>
  33. </div>
  34.  
  35. <br />
  36. <br />
  37.  
  38. <tr valign="top">
  39. <td width="22%" height="218">
  40. The quick brown fox jumped over the lazy dog.
  41. The quick brown fox jumped over the lazy dog.
  42. </td>
  43. <td width="21%">
  44. &nbsp;
  45. </td>
  46. <td width="57%">
  47. The quick brown fox jumped over the lazy dog.
  48. The quick brown fox jumped over the lazy dog.
  49. </td>
  50. </tr>
  51. </table>
  52.  
  53. </body>
  54. </html>

Contents Haut

Exemple avec Wave()

  1. <head>
  2. <title>filter:11()</title>
  3. <meta name="Description" content="Utilisation des filtres, Demo">
  4. <meta name="Reply-to" content="alexander@fleming.org">
  5. <meta name="Publisher" content="Fleming">
  6. <meta http-equiv="content-language" content="fr">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8. <body bgcolor="#FFFFFF" text="#000000">
  9. <img
  10. style="filter:Wave(freq=17, light=96, phase=30, strength=10);"
  11. src="11Filter.jpg"
  12. align="center"
  13. width="81"
  14. height="118"
  15. alt="Wave
  16. appliqu&eacute; &agrave; une image">
  17. <span style="width: 100%; filter:Wave(freq=17, light=96, phase=30, strength=10);">
  18. Wave
  19. appliqu&eacute; &agrave; du texte
  20. </span>
  21. </body>
  22. </html>

Contents Haut

Exemple avec XRay()

  1. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <head>
  5. <title>filter:12()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="schopenhauer.arthur@infobrol.edu">
  10. <meta name="Copyright" content="Arthur Schopenhauer">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13.  
  14. body {
  15. margin: 2px;
  16. padding: 17px;
  17. font-family: verdana;
  18. font-size: 14px;
  19. min-width: 736px;
  20. background:#FFFFFF;
  21. color:#000000;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28. <img
  29. style="filter:XRay();"
  30. src="12Filter.jpg"
  31. align="center"
  32. width="81"
  33. height="103"
  34. alt="XRay
  35. appliqu&eacute; &agrave; une image">
  36. <span style="width: 100%; filter:XRay();">
  37. XRay
  38. appliqu&eacute; &agrave; du texte
  39. </span>
  40. </body>
  41. </html>

Contents Haut

Liste de filtres

#NomEffet
#NomEffet
0Alpha()effet de fusion de l'avant-plan et l'arrière-plan
1Blur()effet d'estompe
2Chroma()effet de couleur transparente
3DropShadow()effet d'ombrage
4FlipH()effet de symétrie sur axe horizontal
5FlipV()effet de symétrie sur axe vertical
6Glow()effet de bords flambants
7Gray()effet de nuances de gris
8Invert()effet d'inversion
9Mask()effet de masque transparent
10Shadow()effet d'ombres
11Wave()effet d'ondulation
12XRay()effet négatif photo

Afficher tous les filtres avec exemples.

Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph