Ich habe ein parent
div und zwei divs innen, ein div ist floated left
und ein anderes div ist floated right
.Wie man Text nach unten des Divs positioniert, das mit einem anderen div schwebte
Das ist, was ich jetzt habe:
┌─────────────┬─────────────┐
│ Text left │ Text right │
│ Text left │─────────────┘
│ Text left │
│ Text left │
└─────────────┘
Das ist, was ich will:
┌─────────────┬─────────────┐
│ Text left │ │
│ Text left │ │
│ Text left │ │
│ Text left │ Text right │
└─────────────┴─────────────┘
Das ist mein html:
<div style="position:absolute">
<div style="float:left">
Text left
Text left
Text left
Text left
</div>
<div style="float:right;">
Text right
</div>
</div>
Grundsätzlich möchte ich Text right
angezeigt in der Unterseite des div. Was ist der beste Weg, das zu tun?
Setzen Sie den Text in ein 'span' mit' style = "position: absolute; unten: 0" '. –