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 name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="bennahman.moshe@infobrol.com">
  8. <meta name="Copyright" content="Moshe ben Nahman">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <h1>Exemple de filtre Alpha</h1>
  12. <div align="center">
  13. <img
  14. src="filter_0.gif"
  15. style="filter:Alpha(opacity=11, finishopacity=0, style=2)"
  16. width="100"
  17. height="42"
  18. alt="Exemple de filtre 0"
  19. border="0">
  20. </div>
  21. </body>
  22. </html>

Contents Haut

Exemple avec Blur()

  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:1()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Francis Bacon">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Copyright" content="Jacques-Yves Cousteau">
  10. </head>
  11. <body>
  12. width:100%;
  13. padding:7px;
  14. font-size:38pt;
  15. color:blue;
  16. filter:Blur(direction=0, strength=18)">
  17. Exemples d'utilisation de filtres</p>
  18. </div>
  19.  
  20. <br />
  21. <br />
  22.  
  23. <tr valign="top">
  24. <td width="22%" height="218">
  25. The quick brown fox jumped over the lazy dog.
  26. The quick brown fox jumped over the lazy dog.
  27. The quick brown fox jumped over the lazy dog.
  28. The quick brown fox jumped over the lazy dog.
  29. The quick brown fox jumped over the lazy dog.
  30. </td>
  31. <td width="21%">
  32. &nbsp;
  33. </td>
  34. <td width="57%">
  35. The quick brown fox jumped over the lazy dog.
  36. The quick brown fox jumped over the lazy dog.
  37. The quick brown fox jumped over the lazy dog.
  38. </td>
  39. </tr>
  40. </table>
  41.  
  42. </body>
  43. </html>

Contents Haut

Exemple avec Chroma()

  1. <head>
  2. <title>filter:2()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Reply-to" content="leopardi.giacomo@infobrol.int">
  7. <meta name="Publisher" content="Leopardi">
  8. <meta name="Copyright" content="Giacomo Leopardi">
  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: 14px;
  15. font-family: verdana;
  16. font-size: 19px;
  17. min-width: 705px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <h1>Exemple de filtre Chroma</h1>
  27. <div align="center">
  28. <img
  29. src="filter_2.gif"
  30. style="filter:Chroma(color=#cd853f)"
  31. width="159"
  32. height="148"
  33. alt="Exemple de filtre 2"
  34. border="0">
  35. </div>
  36. </body>
  37. </html>

Contents Haut

Exemple avec DropShadow()

  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:3()</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="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="heinrichjacobi.friedrich@infobrol.pro">
  10. <meta name="Publisher" content="Heinrich Jacobi">
  11. <meta name="Copyright" content="Friedrich Heinrich Jacobi">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body>
  15. <div style="width: 100%; filter:DropShadow(color=#e0eee0);">
  16. Ceci est un texte avec DropShadow...
  17. </div>
  18. </body>
  19. </html>

Contents Haut

Exemple avec FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:4()</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="Robert Boyle">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Publisher" content="Cray">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <img
  13. style="filter:FlipH();"
  14. src="4Filter.jpg"
  15. align="center"
  16. width="118"
  17. height="101"
  18. alt="FlipH
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:FlipH();">
  21. FlipH
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </html>

Contents Haut

Exemple avec FlipV()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:5()</title>
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Reply-to" content="breguet.louis@infobrol.biz">
  6. <meta name="Publisher" content="Breguet">
  7. <meta name="Copyright" content="Louis Breguet">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <h1>Exemple de filtre FlipV</h1>
  11. <div align="center">
  12. <img
  13. src="filter_5.gif"
  14. style="filter:FlipV()"
  15. width="183"
  16. height="58"
  17. alt="Exemple de filtre 5"
  18. border="0">
  19. </div>
  20. </body>
  21. </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="Author" lang="fr" content="Edwin Hubble">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="lysander@spooner.org">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. width:100%;
  14. padding:11px;
  15. font-size:46pt;
  16. color:blue;
  17. filter:Glow(color=#e0eee0)">
  18. Exemples d'utilisation de filtres</p>
  19. </div>
  20.  
  21. <br />
  22. <br />
  23.  
  24. <tr valign="top">
  25. <td width="22%" height="218">
  26. The quick brown fox jumped over the lazy dog.
  27. The quick brown fox jumped over the lazy dog.
  28. The quick brown fox jumped over the lazy dog.
  29. The quick brown fox jumped over the lazy dog.
  30. The quick brown fox jumped over the lazy dog.
  31. </td>
  32. <td width="21%">
  33. &nbsp;
  34. </td>
  35. <td width="57%">
  36. The quick brown fox jumped over the lazy dog.
  37. The quick brown fox jumped over the lazy dog.
  38. The quick brown fox jumped over the lazy dog.
  39. The quick brown fox jumped over the lazy dog.
  40. The quick brown fox jumped over the lazy dog.
  41. </td>
  42. </tr>
  43. </table>
  44.  
  45. </body>
  46. </html>

Contents Haut

Exemple avec Gray()

  1. <head>
  2. <title>filter:7()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="Jef Raskin">
  5. <meta name="Reply-to" content="liskov.barbara@infobrol.com">
  6. <meta name="Publisher" content="Liskov">
  7. <meta name="Copyright" content="Barbara Liskov">
  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. <img
  13. style="filter:Gray();"
  14. src="7Filter.jpg"
  15. align="center"
  16. width="86"
  17. height="102"
  18. alt="Gray
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:Gray();">
  21. Gray
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </html>

Contents Haut

Exemple avec Invert()

  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:8()</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="Copyright" content="Jacques Bernoulli">
  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: 2px;
  14. padding: 20px;
  15. font-family: verdana;
  16. font-size: 11px;
  17. min-width: 628px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. width:100%;
  25. padding:15px;
  26. font-size:46pt;
  27. color:blue;
  28. filter:Invert()">
  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 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="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Jon Postel">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="rudolf@diesel.net">
  9. <meta name="Publisher" content="Diesel">
  10. <meta name="Copyright" content="Rudolf Diesel">
  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: 20px;
  17. font-family: verdana;
  18. font-size: 11px;
  19. min-width: 628px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <h1>Exemple de filtre Mask</h1>
  27. width:100%; padding:14px; font-size:21pt; color:red;
  28. filter:9(color=#cd853f)">
  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. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:10()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="Author" lang="fr" content="Victor Cousin">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="clark.david@gmail.com">
  8. <meta name="Publisher" content="Clark">
  9. <meta name="Copyright" content="David Clark">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <h1>Exemple de filtre Shadow</h1>
  13. <div align="center">
  14. <img
  15. src="filter_10.gif"
  16. style="filter:Shadow(direction=135, color=#cd853f)"
  17. width="182"
  18. height="140"
  19. alt="Exemple de filtre 10"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Contents Haut

Exemple avec Wave()

  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:11()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Charles de Coulomb">
  8. <meta name="Reply-to" content="gustave@demolinari.org">
  9. <meta name="Publisher" content="de Molinari">
  10. <meta name="Copyright" content="Gustave de Molinari">
  11. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  12.  
  13. body {
  14. margin: 2px;
  15. padding: 20px;
  16. font-family: verdana;
  17. font-size: 11px;
  18. min-width: 628px;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#FFFFFF" text="#000000">
  25. <img
  26. style="filter:Wave(freq=38, light=68, phase=24, strength=6);"
  27. src="11Filter.jpg"
  28. align="center"
  29. width="116"
  30. height="95"
  31. alt="Wave
  32. appliqu&eacute; &agrave; une image">
  33. <span style="width: 100%; filter:Wave(freq=38, light=68, phase=24, strength=6);">
  34. Wave
  35. appliqu&eacute; &agrave; du texte
  36. </span>
  37. </body>
  38. </html>

Contents Haut

Exemple avec XRay()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:12()</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="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="stroustrup.bjarne@infobrol.com">
  8. <meta name="Publisher" content="Stroustrup">
  9. <meta name="Copyright" content="Bjarne Stroustrup">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <img
  14. style="filter:XRay();"
  15. src="12Filter.jpg"
  16. align="center"
  17. width="96"
  18. height="106"
  19. alt="XRay
  20. appliqu&eacute; &agrave; une image">
  21. <span style="width: 100%; filter:XRay();">
  22. XRay
  23. appliqu&eacute; &agrave; du texte
  24. </span>
  25. </body>
  26. </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