• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

CSS Formatierungen klappen nicht

franzfinke

Neues Mitglied
Hallo,
ich habe ein kleine Problem die folgenden CSS Formatierungen werden im Internet Explorer und Friefox nicht volllständig angezeigt.Weiß jemand wo mein Problem liegt?


HTML:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <!--<link rel="stylesheet" type="text/css" media="screen,projection"href="style.css" />-->
    <title>Gruppierungen</title>
    <style type="text/css">
        body {
      margin:0;
      padding:0;
      font:13px verdana,sans-serif;
      line-height:1.5;
      }
      h1,h2 {
      font-family:'trebuchet ms',sans.serif;
      font-weight:normal;
      margin-top:0;
      margin-bottom:0;
      }
      h1{
      font-size:23px;
      line-height:23px;
      }
      h2{
      font-size:20px;
      line-height:20px;
      }
      #kopfbereich, #inhalt, #navigation; #sidebar, #footer{
      padding:10px;
      background:#ffffff;
      border:1px solid #cccccc;
      }
    </style>

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  </head>
  <body>
    <div id="kopfbereich">
      <h1>O. Deluo. Iuguolo p.</h1>
      <p>1Etudo, fames ac pax Ardor solemnitas rutila, ars Nusquam, benevolentia orbis monstro redeo, arx te evangelium. Emo se     profundum pes sesquimellesimus Socors ango abeo promitto, pro infecundus re Quid .</p>
    </div>
    
    <div id="inhalt"> <h2>O. Deluo. Iuguolo p.</h2>
    <p>2Etudo, fames ac pax Ardor solemnitas rutila, ars Nusquam, benevolentia orbis monstro redeo, arx te evangelium. Emo se profundum pes sesquimellesimus Socors ango abeo promitto, pro infecundus re Quid .</p>
    
    </div>
   
    <div id="navigation"><h2>O. Deluo. Iuguolo p.</h2>
    <p>3Etudo, fames ac pax Ardor solemnitas rutila, ars Nusquam, benevolentia orbis monstro redeo, arx te evangelium. Emo se profundum pes sesquimellesimus Socors ango abeo promitto, pro infecundus re Quid .</p>
    
    </div>
    
    <div id="sidebar"><h2>O. Deluo. Iuguolo p.</h2>
    <p>4Etudo, fames ac pax Ardor solemnitas rutila, ars Nusquam, benevolentia orbis monstro redeo, arx te evangelium. Emo se profundum pes sesquimellesimus Socors ango abeo promitto, pro infecundus re Quid .</p>
    
    </div>
    
    <div id="footer"><h2>O. Deluo. Iuguolo p.</h2>
    <p>5Etudo, fames ac pax Ardor solemnitas rutila, ars Nusquam, benevolentia orbis monstro redeo, arx te evangelium. Emo se profundum pes sesquimellesimus Socors ango abeo promitto, pro infecundus re Quid .</p>
    
    </div>
    

  </body>
</html>
Danke
 
#kopfbereich, #inhalt, #navigation; #sidebar, #footer{
Nach #navigation steht ein Semikolon, muss aber ein Komma sein.

Wenn es das nicht war, wäre eine genauere Beschreibung sehr sinnvoll und ein Link zur Seite.
 
Zurück
Oben