Bonjour,

Est-ce cette ligne est obligatoire en HTML ou XHTML ?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

Je m'explique. Dés que j'intégre cette ligne, le code suivante ne fonctionne plus (code pour la couleur des barre de défilement). Est-ce que quelqu'un pourrait me dire l'importance de cette ligne et si les moteurs de recherches s'en servent pour réferencer ? Et surtout pourquoi mon code ne fonctionne pas quand je l'intègre ?

Code :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
<style type='text/css'>
   BODY
   {
    scrollbar-face-color: #006400;
    scrollbar-shadow-color: #228b22;
    scrollbar-highlight-color: #98fb98;
    scrollbar-3dlight-color: #8fbc8b;
    scrollbar-darkshadow-color: #000000;
    scrollbar-track-color: #000000;
    scrollbar-arrow-color: #eee8aa;
   }
 
  </style>
Code :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">  
<html>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Document sans nom</title>
<head>
  <style type='text/css'>
   BODY
   {
    scrollbar-face-color: #006400;
    scrollbar-shadow-color: #228b22;
    scrollbar-highlight-color: #98fb98;
    scrollbar-3dlight-color: #8fbc8b;
    scrollbar-darkshadow-color: #000000;
    scrollbar-track-color: #000000;
    scrollbar-arrow-color: #eee8aa;
   }
 
  </style>
</head>
<body>
D'avance merci
@+
cvb