<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de">
<head>
<title>Boxen</title>
<style type="text/css">
body, html {
margin: 0;
padding: 0;
}
#seite {
background:url(http://www.habborator.org/archive/blocks/homes/h03.gif) top center no-repeat;
margin: 0 auto;
text-align: center;
height:545px;
width:545px;
}
#leftcontent {
margin-left: -20px;
padding-top:30px;
width: 130px;
float: left;
}
/* speziell für IE6 */
*html #leftcontent {
padding-top:55px;
}
/* speziell für IE7 */
*+html #leftcontent {
padding-top:55px;
}
#box1 {
background:url(http://www.habborator.org/archive/blocks/box100/029.gif) no-repeat;
padding-top: 0px;
margin-left: 70px;
margin-bottom: 20px;
height: 100px;
width: 100px;
}
#box1 h4, #box2 h4, #box3 h4 {
text-align: center;
color: green;
padding-top: 5px
}
#box1 p, #box2 p, #box3 p {
margin: -12px 5px 0;
text-align: left;
}
#box2 {
background:url(http://www.habborator.org/archive/blocks/box100/029.gif) no-repeat;
margin-top: 0px;
margin-left: 70px;
margin-bottom: 20px;
height: 100px;
width: 100px;
}
#box3 {
background:url(http://www.habborator.org/archive/blocks/box100/029.gif) no-repeat;
margin-top: 0px;
margin-left: 70px;
margin-bottom: 20px;
height: 100px;
width: 100px;
}
#mitte {
overflow: auto;
width: 330px;
margin-left: 180px;
padding-top: 40px;
}
/* speziell für IE6 */
*html #mitte {
padding-top: 60px;
}
/* speziell für IE7 */
*+html #mitte {
padding-top: 60px;
}
</style>
</head>
<body>
<div id="seite">
<div id="leftcontent">
<div id="box1">
<h4>Überschrift</h4>
<p>Das ist der Text in der ersten Box. :-)</p>
</div>
<div id="box2">
<h4>Überschrift</h4>
<p>Das ist der Text in der zweiten Box.</p>
</div>
<div id="box3">
<h4>Überschrift</h4>
<p>Das ist der Text in der dritten Box. :-)</p>
</div>
</div> <!-- Ende Div leftcontent -->
<div id="mitte">
<p>Hier kommt ganz viel Text in die Mitte - vielleicht auch mal ein Bild?!</p>
<p>Hier kommt ganz viel Text in die Mitte - vielleicht auch mal ein Bild?!</p>
<p>Hier kommt ganz viel Text in die Mitte - vielleicht auch mal ein Bild?!</p>
<p>Hier kommt ganz viel Text in die Mitte - vielleicht auch mal ein Bild?!</p>
</div>
</div> <!-- Ende Div seite -->
</body>
</html>