Hugo: 2 DIVs in 1 DIV

Beitrag lesen

Danke erstmal. Jetzt hab ich's so gemacht:

<style type="text/css">
<!--
.div {border:1px solid blue;
width:760px;
margin-left:auto;
margin-right:auto;
clear:both;
}

.left {border:1px solid red;
width:600px;

}

.right {border:1px solid green;
width:150px;
float:right;
}
-->
</style>
...
<div class="div">
<div class="right">&nbsp;</div>
<div class="left">&nbsp;</div>
</div>

Allerdings vergrößert sich der äußere DIV nun nicht, wenn der rechte zu groß wird - genau das, was ich eingangs schon hatte :o(

Hugo