Мартин Бее Мартин Бее - 2 months ago 15
CSS Question

Html image alignment

I have this HTML Code. https://jsfiddle.net/furr25f5/ I set the image alignment to right, for the first

div
it is perfect. But I need the second
div
to not align the image but continue under the image starting from the left margin. How to do it?

for better understanding :

what I have now:

enter image description here

what I want:

enter image description here

Any recomendation how to do it?

Answer

Add clear: both to div like this: https://jsfiddle.net/furr25f5/1/

On the div you want to go down.

<div style="clear: both;">
Comments