pattitheonly: DIV (Höhe unbekannt) innerhalb eines anderen ausrichten

Beitrag lesen

Vielleicht so?

<html>
<head>
<style type="text/css">

div.box {
width:400px;
padding:5px;
border:1px solid green;
font-size:12px;
margin: -0px 0 0 -0px;
}
div.inhalt {
width:200px;
text-align:left;
background-color:yellow;
margin: -0px 0 0 -0px;
}
div.ende {
clear:right;
background-color:#FF6699;
}
div.logo {
width:200px;
float:right;
text-align:center;
position:absolute;
vertical-align: top;
margin: 0px 0 0 200px;
}

</style>
</head>
<div class="box">
 <div class="logo">
  <img src="http://www.wurst-wasser.net/Wurst-Wasser.net/Wiki-Uploads/christkind.jpg" width="100">
 </div>
 <div class="inhalt">
  <div>Inhaber: ABC</div>
  <div>Musterstraße 99<br>
  1000 Musterstadt</div>
  <div>Tel.: 0000/000 00<br>
  Mobil: 0000/000 00<br>
  Fax: 0000/000 00</div>
  <div>E-Mail: abc@xyz.com<br>
  WWW: www.abc.com</div>
 </div>
 <div class="ende">Öffnungszeiten:<br>&nbsp;</div>
</div>
</html>