wenn mir jemand helfen kann bedanke ich mich in voraus. Ich habe folgendes problem:
Ich versuche 3 div tags untereinander zu positionieren. Den Beispiel poste ich gleich mit.
Ich bedanke mich in voraus.
- Code: Alles auswählen
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.outer-container {
width:100%;
background-color: #99CC00;
z-index: 2;
margin: 0 auto;
}
.content-container {
width:900px;
background-color: #CCCCCC;
margin: auto;
padding: 20px;
border: solid;
border-width: 1px;
border-color: #333333;
position: relative;
}
.contentleft {
width:650px;
z-index3;
background-color: #666666;
margin: left;
}
.contentright {
width:200px;
background-color: #666666;
margin: auto;
float: right;
position:relative;
top: -390px;
}
-->
</style>
</head>
<body>
<div class="outer-container">
<div class="content-container">
<div class="contentleft">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>sd</p>
<p> </p>
<p> </p>
<p>sd</p>
<p> </p>
<p>sd</p>
<p>sd</p>
</div>
<div class="contentright">
<p>WIE GRIEG ICH DIESEN DIV TAG IN DER GLEICHEN POSITION WIE:</p>
<p>CONTENT-LEFT</p>
<p> </p>
<p> </p>
<p>DANKE </p>
</div>
</div>
</div>
</body>
</html>
