Bobby: anordnung von divs - mitwachsend...

Beitrag lesen

Moin

hat jemand eine idee?

kommt folgender Code deiner Vorstellung nahe? Ich hoffe ich hab dich richtig verstanden. Box 1 und 2 haben eine feste Größe und div 3 und 4 wachsen nach links mit.

[code=HTML]
<div style="float:left;width:150px;background-color:red;height:100px;">
    Div1
</DIV>
<DIV style="float:right;background-color:blue;height:100px;">
    Div3 und hier kommt richtig viel Text
</DIV>

<br style="clear:both;line-height:0;height:0;font-size:0;padding:0;margin:0;">

<DIV style="float:left;width:150px;background-color:black;height:100px;">
    Div2
</DIV>
<DIV style="float:right;background-color:yellow;height:100px;">
    Div4 und hier kommt richtig viel Text und hier kommt richtig viel Text und hier kommt richtig viel Text
</DIV>
[/Code]

--
-> Für jedes Problem gibt es eine Lösung, die einfach, sauber und falsch ist! <-
-> Nicht das Problem macht die Schwierigkeiten, sondern unsere Sichtweise! <-
ie:{ br:> fl:{ va:{ ls:< fo:) rl:( n4:( de:> ss:) ch:? js:( mo:} sh:) zu:)