reQuiem: iframe breite im div

Beitrag lesen

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <title>3 Cols (2 fix) in 80% Container</title>
    <style type="text/css">
      * { margin:0; padding:0 }
      body { text-align:center; /* für IE */ }
      #container { width:80%; margin:auto; }
      #col1 { float:left; width:200px; background:red; }
      #col2 { float:right; width:150px; background:blue; }
      #content { padding-left:200px; padding-right:150px; }
      #banner { background:green; height:100px; }
    </style>
  </head>
  <body>
    <div id="container">
      <div id="banner">Header</div>
      <div id="wrapper">
        <div id="col1">
          <h1>Navi links</h1>
          <p>Lorem ipsum dolor sit amet</p>
        </div>
        <div id="col2">
          <h1>Sidebar rechts</h1>
          <p>Lorem ipsum dolor sit amet</p>
        </div>
        <div id="content">
          <h1>Inhalt</h1>
          <p>Lorem ipsum dolor sit amet</p>
        </div>
      </div>
  </body>
</html>