<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <title>Seitenlayout: Navigation, Kopf, Information, Fußteil (Tabellenlayout) - Cascading Style Sheets - Workshop Internet-Präsenz</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta http-equiv="Content-Language" content="DE" />
 <meta http-equiv="Content-Style-Type" content="text/css" />
 <meta name="description" content="Übung Cascading Style Sheet. Seitenlayout: Navigation, Kopf, Information, Fußteil." />
 <meta name="keywords" content="HTML, Cascading Style Sheet, Bildschirm, Ausdruck" />
 <meta name="author" content="Dr. Roland Unger" />
 <style type="text/css">
 <!--
  body {
     text-align: center;
     padding: 0.5em;
     margin: 0;
  }
  #container {
     margin: 0 auto;
     width: 80%;
     text-align: left;
     border: 1px solid #e0e0e0;
     border-collapse: collapse;
     
  }
  #header {
     padding: 0.5em;
     background: #e5f3ff;
  }
  #header h1 {
     margin: 0;
     font-size: 1.5em;
  }
  #content {
     padding: 0.5em;
     background: #fff;
     vertical-align: baseline;
  }
  #content h2 {
     margin: 0 0 1em;
     font-size: 1.17em;
  }
  #content p {
     margin: 1em 0 0;
  }
  #navigation {
     background: #e0e0e0;
     padding: 0.5em 0;
     width: 8em;
     vertical-align: baseline;
  }
  #navigation ul {
     margin-top: 0;
     margin-bottom: 0;
  }
  #footer {
     padding: 0.5em;
     background: #e5f3ff;
  }
  @media print {
   #container {
     border-style: none;
   }
   #header , #footer {
     background: transparent;
   }
   #header {
     border-bottom: 1pt solid #000;
   }
   #footer {
     border-top: 1pt solid #000;
   }
   #navigation {
     display: none;
     width: 0;
   }
  }
 -->
 </style>
</head>
<body>
<table id="container">
 <tbody>
  <tr>
   <td colspan="2" id="header">
    <h1>Workshop Internet-Präsenz</h1>
   </td>
  </tr>
  
  <tr>
   <td id="navigation">
    <ul>
     <li>Punkt 1</li>
     <li>Punkt 2</li>
     <li>Punkt 3</li>
     <li>Punkt 4</li>
    </ul>
   </td>
   <td id="content">
    <h2>Seitenlayout: Navigation, Kopf, Information, Fußteil</h2>
    <p>Das erste Beipiel realisiert ein klassisches
    Tabellenlayout, die einzelnen Bereiche werden in
    einzelne Tabellenzellen gepackt. Dieses Verfahren ist
    einfach, allerdings häufig unflexibel bei
    Layoutänderungen.</p>
    <p>Ein Problem stellen häufig — insbesondere be modernen
    Browsern – die Ränder von Überschriften und Absätzen dar.
    Der obere Rand des ersten Elements und der untere Rand
    des letzten Rands können, wenn dargestellt, störend
    wirken.</p> 
   </td>
  </tr>
  <tr>
   <td colspan="2" id="footer">
    Fußbereich
   </td>
  </tr>
 </tbody>
</table>
</body>
</html>