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. <!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:0()</title>
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="Ada Lovelace">
  8. <meta name="Reply-to" content="edward@feigenbaum.org">
  9. <meta name="Copyright" content="Edward Feigenbaum">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <img
  13. style="filter:Alpha(opacity=32, finishopacity=0, style=2);"
  14. src="0Filter.jpg"
  15. align="center"
  16. width="93"
  17. height="111"
  18. alt="Alpha
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:Alpha(opacity=32, finishopacity=0, style=2);">
  21. Alpha
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </html>

Contents Haut

Exemple avec Blur()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:1()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Alexei Abrikosov">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="pasteur.louis@infobrol.int">
  9. <meta name="Publisher" content="Pasteur">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <h1>Exemple de filtre Blur</h1>
  14. width:100%; padding:3px; font-size:28pt; color:red;
  15. filter:1(strength=0)">
  16. Application de Blur(),
  17. texte avec Blur
  18. The quick brown fox jumped over the lazy dog.
  19. The quick brown fox jumped over the lazy dog.
  20. The quick brown fox jumped over the lazy dog.
  21. The quick brown fox jumped over the lazy dog.
  22. </div>
  23. </body>
  24. </html>

Contents Haut

Exemple avec Chroma()

  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:2()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Stephen Wozniak">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="seymour@cray.info">
  10. <meta name="Publisher" content="Cray">
  11. <meta name="Copyright" content="Seymour Cray">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13.  
  14. body {
  15. margin: 5px;
  16. padding: 9px;
  17. font-family: verdana;
  18. font-size: 15px;
  19. min-width: 619px;
  20. background:#FFFFFF;
  21. color:#000000;
  22. }
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28. width:100%;
  29. padding:13px;
  30. font-size:35pt;
  31. color:blue;
  32. filter:Chroma(color=#528b8b)">
  33. Exemples d'utilisation de filtres</p>
  34. </div>
  35.  
  36. <br />
  37. <br />
  38.  
  39. <tr valign="top">
  40. <td width="22%" height="218">
  41. The quick brown fox jumped over the lazy dog.
  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. </td>
  47. <td width="21%">
  48. &nbsp;
  49. </td>
  50. <td width="57%">
  51. The quick brown fox jumped over the lazy dog.
  52. The quick brown fox jumped over the lazy dog.
  53. The quick brown fox jumped over the lazy dog.
  54. The quick brown fox jumped over the lazy dog.
  55. </td>
  56. </tr>
  57. </table>
  58.  
  59. </body>
  60. </html>

Contents Haut

Exemple avec DropShadow()

  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:3()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Author" lang="fr" content="Linus Torvalds">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Reply-to" content="chomsky.noam@infobrol.biz">
  11. <meta name="Publisher" content="Chomsky">
  12. <meta name="Copyright" content="Noam Chomsky">
  13. <meta http-equiv="content-language" content="fr">
  14. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  15. </head>
  16. <body>
  17. <h1>Exemple de filtre DropShadow</h1>
  18. width:100%; padding:19px; font-size:43pt; color:red;
  19. filter:3(offx=2, offy=3)">
  20. Application de DropShadow(),
  21. texte avec DropShadow
  22. The quick brown fox jumped over the lazy dog.
  23. The quick brown fox jumped over the lazy dog.
  24. The quick brown fox jumped over the lazy dog.
  25. The quick brown fox jumped over the lazy dog.
  26. </div>
  27. </body>
  28. </html>

Contents Haut

Exemple avec FlipH()

  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:4()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Wilbur Wright">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="scott@mcnealy.org">
  10. <meta name="Copyright" content="Scott McNealy">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 5px;
  15. padding: 9px;
  16. font-family: verdana;
  17. font-size: 15px;
  18. min-width: 619px;
  19. background:#FFFFFF;
  20. color:#000000;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body>
  27. <h1>Exemple de filtre FlipH</h1>
  28. <div align="center">
  29. <img
  30. src="filter_4.gif"
  31. style="filter:FlipH()"
  32. width="95"
  33. height="49"
  34. alt="Exemple de filtre 4"
  35. border="0">
  36. </div>
  37. </body>
  38. </html>

Contents Haut

Exemple avec FlipV()

  1. <head>
  2. <title>filter:5()</title>
  3. <meta name="Description" content="Utilisation des filtres, Demo">
  4. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  5. <meta name="Reply-to" content="pitrat.jacques@infobrol.tk">
  6. <meta http-equiv="content-language" content="fr">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8.  
  9. body {
  10. margin: 5px;
  11. padding: 9px;
  12. font-family: verdana;
  13. font-size: 15px;
  14. min-width: 619px;
  15. background:#FFFFFF;
  16. color:#000000;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body>
  23. <h1>Exemple de filtre FlipV</h1>
  24. <div align="center">
  25. <img
  26. src="filter_5.gif"
  27. style="filter:FlipV()"
  28. width="131"
  29. height="10"
  30. alt="Exemple de filtre 5"
  31. border="0">
  32. </div>
  33. </body>
  34. </html>

Contents Haut

Exemple avec Glow()

  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:6()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Publisher" content="Bodin">
  8. <meta name="Copyright" content="Jean Bodin">
  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: 5px;
  14. padding: 9px;
  15. font-family: verdana;
  16. font-size: 15px;
  17. min-width: 619px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <h1>Exemple de filtre Glow</h1>
  27. <div align="center">
  28. <img
  29. src="filter_6.gif"
  30. style="filter:Glow(color=#DDBB99)"
  31. width="38"
  32. height="200"
  33. alt="Exemple de filtre 6"
  34. border="0">
  35. </div>
  36. </body>
  37. </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="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="moses@mendelssohn.org">
  7. <meta name="Copyright" content="Moses Mendelssohn">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <img
  11. style="filter:Gray();"
  12. src="7Filter.jpg"
  13. align="center"
  14. width="95"
  15. height="75"
  16. alt="Gray
  17. appliqu&eacute; &agrave; une image">
  18. <span style="width: 100%; filter:Gray();">
  19. Gray
  20. appliqu&eacute; &agrave; du texte
  21. </span>
  22. </body>
  23. </html>

Contents Haut

Exemple avec Invert()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:8()</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="lenat.douglas@infobrol.com">
  7. <meta name="Publisher" content="Lenat">
  8. <meta name="Copyright" content="Douglas Lenat">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <div style="width: 100%; filter:Invert();">
  12. Ceci est un texte avec Invert...
  13. </div>
  14. </body>
  15. </html>

Contents Haut

Exemple avec Mask()

  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:9()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Reply-to" content="jeanne@hersch.info">
  7. <meta name="Publisher" content="Hersch">
  8. <meta name="Copyright" content="Jeanne Hersch">
  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: 5px;
  14. padding: 9px;
  15. font-family: verdana;
  16. font-size: 15px;
  17. min-width: 619px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <h1>Exemple de filtre Mask</h1>
  27. width:100%; padding:10px; font-size:44pt; color:red;
  28. filter:9(color=#DDBB99)">
  29. Application de Mask(),
  30. texte avec Mask
  31. The quick brown fox jumped over the lazy dog.
  32. The quick brown fox jumped over the lazy dog.
  33. The quick brown fox jumped over the lazy dog.
  34. The quick brown fox jumped over the lazy dog.
  35. </div>
  36. </body>
  37. </html>

Contents Haut

Exemple avec Shadow()

  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:10()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Author" lang="fr" content="Seymour Cray">
  9. <meta name="Reply-to" content="fourier.joseph@gmail.com">
  10. <meta name="Publisher" content="Fourier">
  11. <meta name="Copyright" content="Joseph Fourier">
  12. <meta http-equiv="content-language" content="fr">
  13. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  14. <body bgcolor="#FFFFFF" text="#000000">
  15. <h1>Exemple de filtre Shadow</h1>
  16. width:100%; padding:20px; font-size:27pt; color:red;
  17. filter:10(direction=225, color=#528b8b)">
  18. Application de Shadow(),
  19. texte avec Shadow
  20. The quick brown fox jumped over the lazy dog.
  21. The quick brown fox jumped over the lazy dog.
  22. The quick brown fox jumped over the lazy dog.
  23. The quick brown fox jumped over the lazy dog.
  24. </div>
  25. </body>
  26. </html>

Contents Haut

Exemple avec Wave()

  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:11()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Edwin Hubble">
  8. <meta name="Publisher" content="Koch">
  9. <meta name="Copyright" content="Werner Koch">
  10. <meta http-equiv="content-language" content="fr">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12. </head>
  13. <body>
  14. <h1>Exemple de filtre Wave</h1>
  15. width:100%; padding:5px; font-size:49pt; color:red;
  16. filter:11(light=17, freq=23)">
  17. Application de Wave(),
  18. texte avec Wave
  19. The quick brown fox jumped over the lazy dog.
  20. The quick brown fox jumped over the lazy dog.
  21. The quick brown fox jumped over the lazy dog.
  22. The quick brown fox jumped over the lazy dog.
  23. </div>
  24. </body>
  25. </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 name="Author" lang="fr" content="Thomas More">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="shannon.claude@infobrol.edu">
  11. <meta name="Publisher" content="Shannon">
  12. <meta name="Copyright" content="Claude Shannon">
  13. <meta http-equiv="content-language" content="fr">
  14. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  15. </head>
  16. <body>
  17. <h1>Exemple de filtre XRay</h1>
  18. <div align="center">
  19. <img
  20. src="filter_12.gif"
  21. style="filter:XRay()"
  22. width="55"
  23. height="138"
  24. alt="Exemple de filtre 12"
  25. border="0">
  26. </div>
  27. </body>
  28. </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