Linked Questions

Popular Questions

CSS Layout not aligning correctly

Asked by At

I am trying to achieve the layout shown in the picture with CSS. I am currently using float:left; for both text sections with a width: 100%; but they keep moving below the fixed image on the left.

enter image description here

<div style="float:left;">
 <div style="width: 100px; height: 200px;">
   Some Image
 </div>
 <div style="float:left;">
  <div style="float:left; width: 100%;">Some text</div>
  <div style="float:left; width: 100%;">Some text</div>
 </div>
</div>

Related Questions