Heinz: CSS Regel wird nicht erkannt?

Beitrag lesen

Hi,

warum wird meine Regel für das ol-element nicht erkannt?

  
<html>  
 <head>  
<style type="text/css">  
.ol {  
background-color:#FFFF66;  
color:#339900;  
font-size:1.4em;  
font-weight:bold;  
}  
  
#drei {  
background-color:#FFFF66;  
color:#3366FF;  
padding:10px;  
margin:0px;  
}  
  
</style>  
 </head>  
  
 <body>  
  
<ol>  
 <li>Eins</li>  
 <li>Zwei</li>  
 <li id="drei">Drei</li>  
 <li>Vier</li>  
 <li>Fünf</li>  
 <li id="sechs">Sechs</li>  
 <li>Sieben</li>  
</ol>  
  
 </body>  
</html>  

Gruß, Heinz