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. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:0()</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="pragma" content="no-cache">
  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="newton.isaac@gmail.com">
  9. <meta name="Publisher" content="Newton">
  10. <meta name="Copyright" content="Isaac Newton">
  11. <meta http-equiv="content-language" content="fr">
  12. </head>
  13. <body bgcolor="#FFFFFF" text="#000000">
  14. <h1>Exemple de filtre Alpha</h1>
  15. <div align="center">
  16. <img
  17. src="filter_0.gif"
  18. style="filter:Alpha(opacity=58, finishopacity=0, style=3)"
  19. width="171"
  20. height="134"
  21. alt="Exemple de filtre 0"
  22. border="0">
  23. </div>
  24. </body>
  25. </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. <head>
  4. <title>filter:1()</title>
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Reply-to" content="james@mill.info">
  7. <meta name="Publisher" content="Mill">
  8. <meta name="Copyright" content="James Mill">
  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: 0px;
  15. font-family: verdana;
  16. font-size: 9px;
  17. min-width: 703px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <h1>Exemple de filtre Blur</h1>
  27. width:100%; padding:15px; font-size:40pt; color:red;
  28. filter:1(direction=270, strength=14)">
  29. Application de Blur(),
  30. texte avec Blur
  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 Chroma()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:2()</title>
  4. <meta name="Author" lang="fr" content="Louis Pasteur">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Copyright" content="Rudolf Diesel">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9. </head>
  10. <body>
  11. <img
  12. style="filter:Chroma(color=#DDBB99);"
  13. src="2Filter.jpg"
  14. align="center"
  15. width="103"
  16. height="91"
  17. alt="Chroma
  18. appliqu&eacute; &agrave; une image">
  19. <span style="width: 100%; filter:Chroma(color=#DDBB99);">
  20. Chroma
  21. appliqu&eacute; &agrave; du texte
  22. </span>
  23. </body>
  24. </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="Reply-to" content="coriolis.gaspard-gustave@gmail.com">
  9. <meta name="Publisher" content="Coriolis">
  10. <meta name="Copyright" content="Gaspard-Gustave Coriolis">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13. </head>
  14. <body>
  15. <h1>Exemple de filtre DropShadow</h1>
  16. width:100%; padding:19px; font-size:19pt; color:red;
  17. filter:3(color=#DDBB99, offx=1, offy=2)">
  18. Application de DropShadow(),
  19. texte avec DropShadow
  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 FlipH()

  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:4()</title>
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Author" lang="fr" content="Thomas Jefferson">
  7. <meta name="Reply-to" content="jamesprescott@joule.info">
  8. <meta name="Copyright" content="James Prescott Joule">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre FlipH</h1>
  13. <div align="center">
  14. <img
  15. src="filter_4.gif"
  16. style="filter:FlipH()"
  17. width="128"
  18. height="94"
  19. alt="Exemple de filtre 4"
  20. border="0">
  21. </div>
  22. </body>
  23. </html>

Contents Haut

Exemple avec FlipV()

  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:5()</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="Copyright" content="Isaac Newton">
  9. </head>
  10. <body>
  11. <h1>Exemple de filtre FlipV</h1>
  12. <div align="center">
  13. <img
  14. src="filter_5.gif"
  15. style="filter:FlipV()"
  16. width="183"
  17. height="33"
  18. alt="Exemple de filtre 5"
  19. border="0">
  20. </div>
  21. </body>
  22. </html>

Contents Haut

Exemple avec Glow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:6()</title>
  4. <meta name="Author" lang="fr" content="John Vincent Atanasoff">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="wozniak.stephen@infobrol.tk">
  7. <meta name="Publisher" content="Wozniak">
  8. <meta name="Copyright" content="Stephen Wozniak">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. </head>
  12. <body>
  13. <h1>Exemple de filtre Glow</h1>
  14. <div align="center">
  15. <img
  16. src="filter_6.gif"
  17. style="filter:Glow(color=#fafad2)"
  18. width="22"
  19. height="59"
  20. alt="Exemple de filtre 6"
  21. border="0">
  22. </div>
  23. </body>
  24. </html>

Contents Haut

Exemple avec Gray()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:7()</title>
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Reply-to" content="carl@zeiss.info">
  6. <meta name="Copyright" content="Carl Zeiss">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body>
  10. <form>
  11. <textarea id="test_textarea"
  12. style="filter:Gray();"
  13. rows="19"
  14. cols="6">
  15. Mauris et orci. Aenean nec lorem. In porttitor. Donec laoreet
  16. nonummy augue. Suspendisse dui purus, scelerisque at, vulputate
  17. vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis
  18. eleifend. Ut nonummy. Fusce aliquet pede non pede.
  19. Suspendisse dapibus lorem pellentesque magna. Integer nulla.
  20. Donec blandit feugiat ligula. Donec hendrerit, felis et imperdiet
  21. euismod, purus ipsum pretium metus, in lacinia nulla nisl eget
  22. sapien. Donec ut est in lectus consequat consequat. Etiam eget
  23. dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique.
  24. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  25. Maecenas porttitor congue massa. Fusce posuere, magna sed
  26. pulvinar ultricies, purus lectus malesuada libero, sit amet
  27. commodo magna eros quis urna. Nunc viverra imperdiet enim.
  28. Fusce est. Vivamus a tellus. Pellentesque habitant morbi
  29. tristique senectus et netus et malesuada fames ac turpis
  30. egestas. Proin pharetra nonummy pede.
  31. type="button"
  32. name="btn1"
  33. value="Test"
  34. style="filter:Gray();" />
  35. </form>
  36. </body>
  37. </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 name="Author" lang="fr" content="Kenneth Thompson">
  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="edison.thomas@infobrol.pro">
  8. <meta name="Copyright" content="Thomas Edison">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre Invert</h1>
  13. width:100%; padding:18px; font-size:24pt; color:red;
  14. filter:8()">
  15. Application de Invert(),
  16. texte avec Invert
  17. The quick brown fox jumped over the lazy dog.
  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. </div>
  22. </body>
  23. </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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:9()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Bill Gates">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Reply-to" content="hamming.richard@gmail.com">
  10. <meta name="Copyright" content="Richard Hamming">
  11. </head>
  12. <body>
  13. width:100%;
  14. padding:3px;
  15. font-size:40pt;
  16. color:blue;
  17. filter:Mask(color=#DDBB99)">
  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. </td>
  30. <td width="21%">
  31. &nbsp;
  32. </td>
  33. <td width="57%">
  34. The quick brown fox jumped over the lazy dog.
  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 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="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="gray.frank@infobrol.pro">
  9. <meta name="Copyright" content="Frank Gray">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 2px;
  14. padding: 8px;
  15. font-family: verdana;
  16. font-size: 18px;
  17. min-width: 711px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <h1>Exemple de filtre Shadow</h1>
  25. width:100%; padding:11px; font-size:14pt; color:red;
  26. filter:10(color=#fafad2)">
  27. Application de Shadow(),
  28. texte avec Shadow
  29. The quick brown fox jumped over the lazy dog.
  30. The quick brown fox jumped over the lazy dog.
  31. The quick brown fox jumped over the lazy dog.
  32. The quick brown fox jumped over the lazy dog.
  33. </div>
  34. </body>
  35. </html>

Contents Haut

Exemple avec Wave()

  1. <head>
  2. <title>filter:11()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Reply-to" content="faraday.michael@infobrol.pro">
  6. <meta name="Publisher" content="Faraday">
  7. <meta name="Copyright" content="Michael Faraday">
  8. <meta http-equiv="content-language" content="fr">
  9. </head>
  10. <body bgcolor="#FFFFFF" text="#000000">
  11. <form>
  12. <textarea id="test_textarea"
  13. style="filter:Wave(light=87, freq=45);"
  14. rows="15"
  15. cols="8">
  16. The quick brown fox jumped over the lazy dog.
  17. type="button"
  18. name="btn1"
  19. value="Test"
  20. style="filter:Wave(light=87, freq=45);" />
  21. </form>
  22. </body>
  23. </html>

Contents Haut

Exemple avec XRay()

  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:12()</title>
  6. <meta name="Author" lang="fr" content="Kenneth Thompson">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Reply-to" content="bodin.jean@infobrol.edu">
  9. <meta name="Copyright" content="Jean Bodin">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 2px;
  14. padding: 0px;
  15. font-family: verdana;
  16. font-size: 9px;
  17. min-width: 703px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <img
  27. style="filter:XRay();"
  28. src="12Filter.jpg"
  29. align="center"
  30. width="106"
  31. height="119"
  32. alt="XRay
  33. appliqu&eacute; &agrave; une image">
  34. <span style="width: 100%; filter:XRay();">
  35. XRay
  36. appliqu&eacute; &agrave; du texte
  37. </span>
  38. </body>
  39. </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